Go to the documentation of this file.
42 #ifndef twoDPointCorrector_H
43 #define twoDPointCorrector_H
64 public MeshObject<polyMesh, UpdateableMeshObject, twoDPointCorrector>
bool required_
Is 2D correction required, i.e. is the mesh.
void snapToWedge(const vector &n, const point &A, point &p) const
Snap a point to the wedge patch(es)
const vector & planeNormal() const
Return plane normal.
void correctDisplacement(const pointField &p, vectorField &disp) const
Correct motion displacements.
~twoDPointCorrector()
Destructor.
bool isWedge_
Flag to indicate a wedge geometry.
void clearAddressing() const
Clear addressing.
void calcAddressing() const
Calculate addressing.
labelList * normalEdgeIndicesPtr_
Indices of edges normal to plane.
Mesh consisting of general polyhedral cells.
simpleMatrix< scalar > A(Nc)
void operator=(const twoDPointCorrector &)
Disallow default bitwise assignment.
Class applies a two-dimensional correction to mesh motion point field.
ClassName("twoDPointCorrector")
scalar wedgeAngle_
Wedge angle (if wedge geometry)
vector wedgeAxis_
Wedge axis (if wedge geometry)
Pre-declare SubField and related Field type.
const polyMesh & mesh() const
twoDPointCorrector(const twoDPointCorrector &)
Disallow default bitwise copy construct.
vector * planeNormalPtr_
2-D plane unit normal
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const scalar edgeOrthogonalityTol
Edge orthogonality tolerance.
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...
bool movePoints()
Correct weighting factors for moving mesh.
const labelList & normalEdgeIndices() const
Return indices of normal edges.
void correctPoints(pointField &p) const
Correct motion points.
direction normalDir() const
Return direction normal to plane.
void updateMesh(const mapPolyMesh &)
Update topology.