BUG: autoHexMesh: synchronise positions

This commit is contained in:
mattijs
2014-08-21 09:37:57 +01:00
committed by Andrew Heather
parent 5c4fdfce99
commit ee4cea9e47

View File

@ -1177,6 +1177,15 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCellsGeometric
{ {
newPoints[meshPoints[i]] += disp[i]; newPoints[meshPoints[i]] += disp[i];
} }
syncTools::syncPointList
(
mesh_,
newPoints,
minMagSqrEqOp<point>(), // combine op
vector(GREAT, GREAT, GREAT) // null value (note: cannot use VGREAT)
);
mesh_.movePoints(newPoints); mesh_.movePoints(newPoints);
} }