Skip to content
Snippets Groups Projects
Commit 39996df2 authored by t. chantrait's avatar t. chantrait
Browse files

fix a bug in // (synchronize missing)

parent cee9636b
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,8 @@ scalar_limiter(const MeshType& mesh,
coefficients[i] *= lambda;
}
});
synchronize(DPk_fh.cellArrays());
}
template <MeshConcept MeshType>
......@@ -265,6 +267,7 @@ scalar_limiter(const MeshType& mesh,
+ lambda_l*dot(coefficients[i],l[cell_id])*l[cell_id];
}
});
synchronize(DPk_fh.cellArrays());
}
template <MeshConcept MeshType>
......@@ -325,6 +328,7 @@ scalar_limiter(const MeshType& mesh,
coefficients[i] *= lambda_inv2;
}
});
synchronize(DPk_Sh.cellArrays());
}
#endif //ORDER2_LIMITERS_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment