Basic pointPatch represents a set of points from the mesh. More...
#include <OpenFOAM/pointPatch.H>
Basic pointPatch represents a set of points from the mesh.
Definition at line 56 of file pointPatch.H.
Public Member Functions | |
TypeName ("basePatch") | |
Runtime type information. | |
pointPatch (const pointBoundaryMesh &bm) | |
virtual | ~pointPatch () |
virtual const word & | name () const =0 |
Return name. | |
virtual label | size () const =0 |
Return size. | |
virtual label | index () const =0 |
Return the index of this patch in the pointBoundaryMesh. | |
const pointBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. | |
virtual bool | coupled () const |
Return true if this patch field is coupled. | |
virtual const labelList & | meshPoints () const =0 |
Return mesh points. | |
virtual const vectorField & | localPoints () const =0 |
Return mesh points. | |
virtual const vectorField & | pointNormals () const =0 |
Return point normals. | |
virtual void | applyConstraint (const label pointi, pointConstraint &) const |
Accumulate the effect of constraint direction of this patch. |
Protected Member Functions | |
virtual void | initGeometry () |
Initialise the calculation of the patch geometry. | |
virtual void | calcGeometry () |
Calculate the patch geometry. | |
virtual void | initMovePoints (const pointField &) |
Initialise the patches for moving points. | |
virtual void | movePoints (const pointField &) |
Correct patches after moving points. | |
virtual void | initUpdateMesh () |
Initialise the update of the patch topology. | |
virtual void | updateMesh () |
Update of the patch topology. |
Friends | |
class | pointBoundaryMesh |
|
inline |
Definition at line 114 of file pointPatch.H.
|
inlinevirtual |
Definition at line 124 of file pointPatch.H.
|
inlineprotectedvirtual |
Initialise the calculation of the patch geometry.
Reimplemented in facePointPatch.
Definition at line 81 of file pointPatch.H.
|
inlineprotectedvirtual |
Calculate the patch geometry.
Reimplemented in coupledFacePointPatch, and facePointPatch.
Definition at line 85 of file pointPatch.H.
|
inlineprotectedvirtual |
Initialise the patches for moving points.
Reimplemented in facePointPatch.
Definition at line 89 of file pointPatch.H.
|
inlineprotectedvirtual |
Correct patches after moving points.
Reimplemented in facePointPatch.
Definition at line 93 of file pointPatch.H.
|
inlineprotectedvirtual |
Initialise the update of the patch topology.
Reimplemented in facePointPatch.
Definition at line 97 of file pointPatch.H.
|
inlineprotectedvirtual |
Update of the patch topology.
Reimplemented in facePointPatch.
Definition at line 101 of file pointPatch.H.
TypeName | ( | "basePatch" | ) |
Runtime type information.
|
pure virtual |
Return name.
Implemented in facePointPatch, and globalPointPatch.
Referenced by sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs().
|
pure virtual |
Return size.
Implemented in facePointPatch, and globalPointPatch.
Referenced by angularOscillatingDisplacementPointPatchVectorField::angularOscillatingDisplacementPointPatchVectorField(), angularOscillatingVelocityPointPatchVectorField::angularOscillatingVelocityPointPatchVectorField(), fvMeshSubset::interpolate(), oscillatingVelocityPointPatchVectorField::oscillatingVelocityPointPatchVectorField(), sixDoFRigidBodyDisplacementPointPatchVectorField::sixDoFRigidBodyDisplacementPointPatchVectorField(), pointPatchMapper::size(), pointPatchField< vector >::size(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField(), and valuePointPatchField< Type >::valuePointPatchField().
|
pure virtual |
Return the index of this patch in the pointBoundaryMesh.
Implemented in facePointPatch, and globalPointPatch.
|
inline |
Return boundaryMesh reference.
Definition at line 140 of file pointPatch.H.
Referenced by globalPointPatch::globalPointSize(), globalPointPatch::meshPoints(), and globalPointPatch::sharedPointAddr().
|
inlinevirtual |
Return true if this patch field is coupled.
Reimplemented in globalPointPatch, processorPointPatch, and coupledFacePointPatch.
Definition at line 146 of file pointPatch.H.
|
pure virtual |
Return mesh points.
Implemented in facePointPatch, and globalPointPatch.
Referenced by fvMeshSubset::interpolate().
|
pure virtual |
Return mesh points.
Implemented in facePointPatch, and globalPointPatch.
Referenced by angularOscillatingDisplacementPointPatchVectorField::angularOscillatingDisplacementPointPatchVectorField(), angularOscillatingVelocityPointPatchVectorField::angularOscillatingVelocityPointPatchVectorField(), oscillatingVelocityPointPatchVectorField::oscillatingVelocityPointPatchVectorField(), sixDoFRigidBodyDisplacementPointPatchVectorField::sixDoFRigidBodyDisplacementPointPatchVectorField(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField(), oscillatingVelocityPointPatchVectorField::updateCoeffs(), and angularOscillatingVelocityPointPatchVectorField::updateCoeffs().
|
pure virtual |
Return point normals.
Implemented in facePointPatch, globalPointPatch, and coupledFacePointPatch.
|
inlinevirtual |
Accumulate the effect of constraint direction of this patch.
Reimplemented in emptyPointPatch, symmetryPointPatch, and wedgePointPatch.
Definition at line 162 of file pointPatch.H.
|
friend |
Definition at line 78 of file pointPatch.H.