Basic pointPatch represents a set of points from the mesh. More...
Public Member Functions | |
TypeName ("basePatch") | |
Runtime type information. More... | |
pointPatch (const pointBoundaryMesh &bm) | |
virtual | ~pointPatch () |
Destructor. More... | |
virtual const word & | name () const =0 |
Return name. More... | |
virtual label | size () const =0 |
Return size. More... | |
virtual label | index () const =0 |
Return the index of this patch in the pointBoundaryMesh. More... | |
const pointBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. More... | |
virtual bool | coupled () const |
Return true if this patch field is coupled. More... | |
virtual const labelList & | meshPoints () const =0 |
Return mesh points. More... | |
virtual const vectorField & | localPoints () const =0 |
Return mesh points. More... | |
virtual const vectorField & | pointNormals () const =0 |
Return point normals. More... | |
virtual const word & | constraintType () const |
Return the constraint type this pointPatch implements. More... | |
virtual void | applyConstraint (const label pointi, pointConstraint &) const |
Accumulate the effect of constraint direction of this patch. More... | |
Protected Member Functions | |
virtual void | initGeometry (PstreamBuffers &) |
Initialise the calculation of the patch geometry. More... | |
virtual void | calcGeometry (PstreamBuffers &) |
Calculate the patch geometry. More... | |
virtual void | initMovePoints (PstreamBuffers &, const pointField &) |
Initialise the patches for moving points. More... | |
virtual void | movePoints (PstreamBuffers &, const pointField &) |
Correct patches after moving points. More... | |
virtual void | initUpdateMesh (PstreamBuffers &) |
Initialise the update of the patch topology. More... | |
virtual void | updateMesh (PstreamBuffers &) |
Update of the patch topology. More... | |
Friends | |
class | pointBoundaryMesh |
Basic pointPatch represents a set of points from the mesh.
Definition at line 56 of file pointPatch.H.
|
inline |
Definition at line 114 of file pointPatch.H.
|
inlinevirtual |
Destructor.
Definition at line 123 of file pointPatch.H.
References pointPatch::index(), pointPatch::name(), and pointPatch::size().
|
inlineprotectedvirtual |
Initialise the calculation of the patch geometry.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.
Definition at line 81 of file pointPatch.H.
|
inlineprotectedvirtual |
Calculate the patch geometry.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, coupledFacePointPatch, and facePointPatch.
Definition at line 85 of file pointPatch.H.
|
inlineprotectedvirtual |
Initialise the patches for moving points.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.
Definition at line 89 of file pointPatch.H.
|
inlineprotectedvirtual |
Correct patches after moving points.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.
Definition at line 93 of file pointPatch.H.
|
inlineprotectedvirtual |
Initialise the update of the patch topology.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.
Definition at line 97 of file pointPatch.H.
|
inlineprotectedvirtual |
Update of the patch topology.
Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.
Definition at line 101 of file pointPatch.H.
References pointPatch::TypeName().
TypeName | ( | "basePatch" | ) |
Runtime type information.
Referenced by pointPatch::updateMesh().
|
pure virtual |
Return name.
Implemented in facePointPatch.
Referenced by NamedEnum< Enum, nEnum >::names(), sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), and pointPatch::~pointPatch().
|
pure virtual |
Return size.
Implemented in facePointPatch.
Referenced by fvMeshSubset::interpolate(), pointPatchMapper::size(), pointPatchField< vector >::size(), and pointPatch::~pointPatch().
|
pure virtual |
Return the index of this patch in the pointBoundaryMesh.
Implemented in facePointPatch.
Referenced by pointPatch::~pointPatch().
|
inline |
Return boundaryMesh reference.
Definition at line 139 of file pointPatch.H.
Referenced by NamedEnum< Enum, nEnum >::names(), cyclicPointPatch::neighbPatch(), cyclicAMIPointPatch::neighbPatch(), and cyclicACMIPointPatch::neighbPatch().
|
inlinevirtual |
Return true if this patch field is coupled.
Reimplemented in facePointPatch, and cyclicACMIPointPatch.
Definition at line 145 of file pointPatch.H.
References pointPatch::localPoints(), pointPatch::meshPoints(), and pointPatch::pointNormals().
|
pure virtual |
Return mesh points.
Implemented in facePointPatch.
Referenced by pointPatch::coupled(), fvMeshSubset::interpolate(), and NamedEnum< Enum, nEnum >::names().
|
pure virtual |
Return mesh points.
Implemented in facePointPatch.
Referenced by pointPatch::coupled(), NamedEnum< Enum, nEnum >::names(), oscillatingVelocityPointPatchVectorField::updateCoeffs(), and angularOscillatingVelocityPointPatchVectorField::updateCoeffs().
|
pure virtual |
Return point normals.
Implemented in facePointPatch, cyclicSlipPointPatch, and nonuniformTransformCyclicPointPatch.
Referenced by pointPatch::coupled(), and NamedEnum< Enum, nEnum >::names().
|
inlinevirtual |
Return the constraint type this pointPatch implements.
Reimplemented in processorPointPatch, cyclicACMIPointPatch, cyclicAMIPointPatch, cyclicPointPatch, symmetryPointPatch, symmetryPlanePointPatch, wedgePointPatch, and emptyPointPatch.
Definition at line 160 of file pointPatch.H.
References pointPatch::applyConstraint(), and word::null.
Referenced by pointPatchField< Type >::New().
|
inlinevirtual |
Accumulate the effect of constraint direction of this patch.
Reimplemented in cyclicSlipPointPatch, nonuniformTransformCyclicPointPatch, symmetryPointPatch, symmetryPlanePointPatch, wedgePointPatch, and emptyPointPatch.
Definition at line 167 of file pointPatch.H.
Referenced by pointPatch::constraintType().
|
friend |
Definition at line 78 of file pointPatch.H.