Skip to content
Snippets Groups Projects
Commit d5c1ceef authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix mpi parallelism for mesh smoother

parent e2e3bfdf
Branches
Tags
1 merge request!167Improve fluxing based remapping
......@@ -165,8 +165,6 @@ class MeshSmootherHandler::MeshSmoother
max_delta_xr[node_id] = max_delta;
});
synchronize(max_delta_xr);
NodeValue<Rd> shift_r{connectivity};
parallel_for(
......@@ -203,11 +201,7 @@ class MeshSmootherHandler::MeshSmoother
this->_applyBC(shift_r);
#ifndef NDEBUG
if (not isSynchronized(shift_r)) {
throw UnexpectedError("smoothed mesh coordinates are not synchronized");
}
#endif // NDEBUG
synchronize(shift_r);
return shift_r;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment