mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: snappyHexMesh: debug shrunk mesh possibly not synchronised
This commit is contained in:
@ -1605,16 +1605,19 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance
|
||||
Info<< "Writing wanted-displacement mesh (possibly illegal) to "
|
||||
<< meshRefiner_.timeName() << endl;
|
||||
pointField oldPoints(mesh.points());
|
||||
meshMover.movePoints
|
||||
vectorField totalDisp
|
||||
(
|
||||
(
|
||||
mesh.points()
|
||||
+ (
|
||||
meshMover.scale().internalField()
|
||||
* displacement.internalField()
|
||||
)
|
||||
)()
|
||||
meshMover.scale().internalField()
|
||||
* displacement.internalField()
|
||||
);
|
||||
syncTools::syncPointList
|
||||
(
|
||||
mesh,
|
||||
totalDisp,
|
||||
minMagSqrEqOp<point>(),
|
||||
vector(GREAT, GREAT, GREAT)
|
||||
);
|
||||
meshMover.movePoints((mesh.points()+totalDisp)());
|
||||
|
||||
// Above move will have changed the instance only on the points (which
|
||||
// is correct).
|
||||
|
||||
Reference in New Issue
Block a user