diff --git a/src/mesh/MeshSmoother.cpp b/src/mesh/MeshSmoother.cpp index 5895feb58b3d2f3eec97a2ae06bbb5840c3f6b78..bb6bf7289a8dcbdac4de3334f13a9fbe3f6de5a0 100644 --- a/src/mesh/MeshSmoother.cpp +++ b/src/mesh/MeshSmoother.cpp @@ -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; }