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_;
97 void calcAddressing()
const;
100 void clearAddressing()
const;
109 static const scalar edgeOrthogonalityTol;
void updateMesh(const mapPolyMesh &)
Update topology.
void correctDisplacement(const pointField &p, vectorField &disp) const
Correct motion displacements.
const vector & planeNormal() const
Return plane normal.
ClassName("twoDPointCorrector")
bool required() const
Is 2D correction required, i.e. is the mesh a wedge or slab.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
Class applies a two-dimensional correction to mesh motion point field.
const labelList & normalEdgeIndices() const
Return indices of normal edges.
bool movePoints()
Correct weighting factors for moving mesh.
Mesh consisting of general polyhedral cells.
direction normalDir() const
Return direction normal to plane.
~twoDPointCorrector()
Destructor.
void correctPoints(pointField &p) const
Correct motion points.
const polyMesh & mesh() const