44 #ifndef twoDPointCorrector_H 45 #define twoDPointCorrector_H 66 public MeshObject<polyMesh, UpdateableMeshObject, twoDPointCorrector>
84 mutable vector* planeNormalPtr_;
90 mutable bool isWedge_;
96 mutable scalar wedgeAngle_;
109 void calcAddressing()
const;
112 void clearAddressing()
const;
121 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.
void correctPoints(pointField &p) const
Correct motion points.
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 polyMesh & mesh() const noexcept
Reference to the mesh.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const vector & planeNormal() const
Return plane normal.
bool movePoints()
Correct weighting factors for moving mesh.
direction normalDir() const
Return direction normal to plane.
Mesh consisting of general polyhedral cells.
~twoDPointCorrector()
Destructor.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
UpdateableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.