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;
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
const labelList & normalEdgeIndices() const
Return indices of normal edges.
ClassName("twoDPointCorrector")
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void topoChange(const polyTopoChangeMap &)
Update topology.
const vector & planeNormal() const
Return plane normal.
const polyMesh & mesh() const
virtual bool movePoints()
Correct weighting factors for moving mesh.
direction normalDir() const
Return direction normal to plane.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
Mesh consisting of general polyhedral cells.
~twoDPointCorrector()
Destructor.
Class containing mesh-to-mesh mapping information.