42 #ifndef twoDPointCorrector_H 43 #define twoDPointCorrector_H 64 public MeshObject<polyMesh, UpdateableMeshObject, twoDPointCorrector>
72 mutable vector* planeNormalPtr_;
78 mutable bool isWedge_;
84 mutable scalar wedgeAngle_;
90 void calcAddressing()
const;
93 void clearAddressing()
const;
102 static const scalar edgeOrthogonalityTol;
void updateMesh(const mapPolyMesh &)
Update topology.
const labelList & normalEdgeIndices() const
Return indices of normal edges.
ClassName("twoDPointCorrector")
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
twoDPointCorrector(const polyMesh &mesh)
Construct from components.
void correctPoints(pointField &p) const
Correct motion points.
void operator=(const twoDPointCorrector &)=delete
Disallow default bitwise assignment.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
void correctDisplacement(const pointField &p, vectorField &disp) const
Correct motion displacements.
bool required() const
Is 2D correction required, i.e. is the mesh a wedge or slab.
Class applies a two-dimensional correction to mesh motion point field.
const vector & planeNormal() const
Return plane normal.
const polyMesh & mesh() const
bool movePoints()
Correct weighting factors for moving mesh.
direction normalDir() const
Return direction normal to plane.
Mesh consisting of general polyhedral cells.
~twoDPointCorrector()
Destructor.