pointPatch Class Referenceabstract

Basic pointPatch represents a set of points from the mesh. More...

Inheritance diagram for pointPatch:
[legend]

Public Member Functions

 TypeName ("basePatch")
 Runtime type information. More...
 
 pointPatch (const pointBoundaryMesh &bm)
 Construct from boundary mesh. More...
 
virtual ~pointPatch ()=default
 Destructor. More...
 
virtual const wordname () 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 pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference. More...
 
virtual bool coupled () const
 Return true if this patch field is coupled. More...
 
virtual const labelListmeshPoints () const =0
 Return mesh points. More...
 
virtual const vectorFieldlocalPoints () const =0
 Return pointField of points in patch. More...
 
virtual const vectorFieldpointNormals () const =0
 Return point unit normals. More...
 
virtual const wordconstraintType () 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...
 
 pointPatch (const pointPatch &)=delete
 No copy construct. More...
 
void operator= (const pointPatch &)=delete
 No copy assignment. More...
 

Friends

class pointBoundaryMesh
 

Detailed Description

Basic pointPatch represents a set of points from the mesh.

Source files

Definition at line 63 of file pointPatch.H.

Constructor & Destructor Documentation

◆ pointPatch() [1/2]

pointPatch ( const pointPatch )
protecteddelete

No copy construct.

◆ pointPatch() [2/2]

pointPatch ( const pointBoundaryMesh bm)
inlineexplicit

Construct from boundary mesh.

Definition at line 119 of file pointPatch.H.

◆ ~pointPatch()

virtual ~pointPatch ( )
virtualdefault

Destructor.

Member Function Documentation

◆ initGeometry()

virtual void initGeometry ( PstreamBuffers )
inlineprotectedvirtual

Initialise the calculation of the patch geometry.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.

Definition at line 79 of file pointPatch.H.

◆ calcGeometry()

virtual void calcGeometry ( PstreamBuffers )
inlineprotectedvirtual

Calculate the patch geometry.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, facePointPatch, and coupledFacePointPatch.

Definition at line 83 of file pointPatch.H.

◆ initMovePoints()

virtual void initMovePoints ( PstreamBuffers ,
const pointField  
)
inlineprotectedvirtual

Initialise the patches for moving points.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.

Definition at line 87 of file pointPatch.H.

◆ movePoints()

virtual void movePoints ( PstreamBuffers ,
const pointField  
)
inlineprotectedvirtual

Correct patches after moving points.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.

Definition at line 91 of file pointPatch.H.

◆ initUpdateMesh()

virtual void initUpdateMesh ( PstreamBuffers )
inlineprotectedvirtual

Initialise the update of the patch topology.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.

Definition at line 95 of file pointPatch.H.

◆ updateMesh()

virtual void updateMesh ( PstreamBuffers )
inlineprotectedvirtual

Update of the patch topology.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.

Definition at line 99 of file pointPatch.H.

◆ operator=()

void operator= ( const pointPatch )
protecteddelete

No copy assignment.

◆ TypeName()

TypeName ( "basePatch"  )

Runtime type information.

◆ name()

virtual const word & name ( ) const
pure virtual

Return name.

Implemented in facePointPatch.

Referenced by genericPointPatchField< Type >::genericPointPatchField(), lumpedPointDisplacementPointPatchVectorField::lumpedPointDisplacementPointPatchVectorField(), and sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs().

Here is the caller graph for this function:

◆ size()

virtual label size ( ) const
pure virtual

Return size.

Implemented in facePointPatch.

Referenced by fvMeshSubset::interpolate(), pointPatchField< Type >::size(), and pointPatchMapper::size().

Here is the caller graph for this function:

◆ index()

◆ boundaryMesh()

const pointBoundaryMesh & boundaryMesh ( ) const
inline

Return boundaryMesh reference.

Definition at line 141 of file pointPatch.H.

Referenced by pointFieldDecomposer::patchFieldDecomposer::patchFieldDecomposer().

Here is the caller graph for this function:

◆ coupled()

virtual bool coupled ( ) const
inlinevirtual

Return true if this patch field is coupled.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and facePointPatch.

Definition at line 147 of file pointPatch.H.

◆ meshPoints()

virtual const labelList & meshPoints ( ) const
pure virtual

Return mesh points.

Implemented in facePointPatch.

Referenced by fvMeshSubset::interpolate(), and pointFieldDecomposer::patchFieldDecomposer::patchFieldDecomposer().

Here is the caller graph for this function:

◆ localPoints()

virtual const vectorField & localPoints ( ) const
pure virtual

Return pointField of points in patch.

Implemented in facePointPatch.

◆ pointNormals()

virtual const vectorField & pointNormals ( ) const
pure virtual

Return point unit normals.

Implemented in cyclicSlipPointPatch, nonuniformTransformCyclicPointPatch, and facePointPatch.

◆ constraintType()

virtual const word & constraintType ( ) const
inlinevirtual

Return the constraint type this pointPatch implements.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, cyclicPointPatch, emptyPointPatch, processorPointPatch, symmetryPointPatch, symmetryPlanePointPatch, and wedgePointPatch.

Definition at line 162 of file pointPatch.H.

References word::null.

◆ applyConstraint()

virtual void applyConstraint ( const label  pointi,
pointConstraint  
) const
inlinevirtual

Accumulate the effect of constraint direction of this patch.

Reimplemented in cyclicSlipPointPatch, emptyPointPatch, nonuniformTransformCyclicPointPatch, symmetryPointPatch, symmetryPlanePointPatch, and wedgePointPatch.

Definition at line 168 of file pointPatch.H.

Friends And Related Function Documentation

◆ pointBoundaryMesh

friend class pointBoundaryMesh
friend

Definition at line 76 of file pointPatch.H.


The documentation for this class was generated from the following file: