mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: polyMesh: remove duplicated code.
This commit is contained in:
@ -1192,13 +1192,6 @@ Foam::tmp<Foam::scalarField> Foam::polyMesh::movePoints
|
|||||||
faceZones_.movePoints(points_);
|
faceZones_.movePoints(points_);
|
||||||
cellZones_.movePoints(points_);
|
cellZones_.movePoints(points_);
|
||||||
|
|
||||||
// Cell tree might become invalid
|
|
||||||
cellTreePtr_.clear();
|
|
||||||
|
|
||||||
// Reset valid directions (could change with rotation)
|
|
||||||
geometricD_ = Zero;
|
|
||||||
solutionD_ = Zero;
|
|
||||||
|
|
||||||
// Reset cell tree - it gets built from mesh geometry so might have
|
// Reset cell tree - it gets built from mesh geometry so might have
|
||||||
// wrong boxes. It is correct as long as none of the cells leaves
|
// wrong boxes. It is correct as long as none of the cells leaves
|
||||||
// the boxes it is in which most likely is almost never the case except
|
// the boxes it is in which most likely is almost never the case except
|
||||||
@ -1210,6 +1203,10 @@ Foam::tmp<Foam::scalarField> Foam::polyMesh::movePoints
|
|||||||
// Small benefit for lots of scope for problems so not done.
|
// Small benefit for lots of scope for problems so not done.
|
||||||
cellTreePtr_.clear();
|
cellTreePtr_.clear();
|
||||||
|
|
||||||
|
// Reset valid directions (could change with rotation)
|
||||||
|
geometricD_ = Zero;
|
||||||
|
solutionD_ = Zero;
|
||||||
|
|
||||||
// Note: tet-base decomposition does not get cleared. Ideally your face
|
// Note: tet-base decomposition does not get cleared. Ideally your face
|
||||||
// decomposition should not change during mesh motion ...
|
// decomposition should not change during mesh motion ...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user