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