pointPatch Class Referenceabstract

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

Inheritance diagram for pointPatch:

Public Member Functions

 TypeName ("basePatch")
 Runtime type information. More...
 
 pointPatch (const pointBoundaryMesh &bm)
 
 pointPatch (const pointPatch &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~pointPatch ()
 Destructor. More...
 
const polyPatchpoly () const
 Return the polyPatch. 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 objectRegistrydb () const
 Return the local object registry. More...
 
const pointMeshmesh () const
 Return mesh reference. More...
 
const Timetime () const
 Return time. More...
 
const pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference. More...
 
virtual bool constraint () const
 Return true if this patch is a constraint type. 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 mesh points. More...
 
virtual const vectorFieldpointNormals () const =0
 Return point normals. More...
 
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch. More...
 
void operator= (const pointPatch &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

virtual void initCalcGeometry (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 initTopoChange (PstreamBuffers &)
 Initialise the update of the patch topology. More...
 
virtual void topoChange (PstreamBuffers &)
 Update of the patch topology. More...
 

Friends

class pointBoundaryMesh
 

Detailed Description

Basic pointPatch represents a set of points from the mesh.

Source files

Definition at line 60 of file pointPatch.H.

Constructor & Destructor Documentation

◆ pointPatch() [1/2]

pointPatch ( const pointBoundaryMesh bm)
inline

Definition at line 108 of file pointPatch.H.

◆ pointPatch() [2/2]

pointPatch ( const pointPatch )
delete

Disallow default bitwise copy construction.

◆ ~pointPatch()

virtual ~pointPatch ( )
inlinevirtual

Destructor.

Definition at line 118 of file pointPatch.H.

Member Function Documentation

◆ initCalcGeometry()

virtual void initCalcGeometry ( PstreamBuffers )
inlineprotectedvirtual

Initialise the calculation of the patch geometry.

Reimplemented in facePointPatch.

Definition at line 76 of file pointPatch.H.

◆ calcGeometry()

virtual void calcGeometry ( PstreamBuffers )
inlineprotectedvirtual

Calculate the patch geometry.

Reimplemented in coupledFacePointPatch, and facePointPatch.

Definition at line 80 of file pointPatch.H.

◆ initMovePoints()

virtual void initMovePoints ( PstreamBuffers ,
const pointField  
)
inlineprotectedvirtual

Initialise the patches for moving points.

Reimplemented in facePointPatch.

Definition at line 84 of file pointPatch.H.

◆ movePoints()

virtual void movePoints ( PstreamBuffers ,
const pointField  
)
inlineprotectedvirtual

Correct patches after moving points.

Reimplemented in facePointPatch.

Definition at line 88 of file pointPatch.H.

◆ initTopoChange()

virtual void initTopoChange ( PstreamBuffers )
inlineprotectedvirtual

Initialise the update of the patch topology.

Reimplemented in facePointPatch.

Definition at line 92 of file pointPatch.H.

◆ topoChange()

virtual void topoChange ( PstreamBuffers )
inlineprotectedvirtual

Update of the patch topology.

Reimplemented in facePointPatch.

Definition at line 96 of file pointPatch.H.

◆ TypeName()

TypeName ( "basePatch"  )

Runtime type information.

◆ poly()

const Foam::polyPatch & poly ( ) const

Return the polyPatch.

Definition at line 39 of file pointPatch.C.

References polyMesh::boundary(), pointPatch::index(), pointBoundaryMesh::mesh(), and pointMesh::poly().

Here is the call graph for this function:

◆ name()

virtual const word& name ( ) const
pure virtual

Return name.

Implemented in facePointPatch.

Referenced by genericPointPatchField< Type >::genericPointPatchField().

Here is the caller graph for this function:

◆ size()

virtual label size ( ) const
pure virtual

Return size.

Implemented in facePointPatch.

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

Here is the caller graph for this function:

◆ index()

◆ db()

const Foam::objectRegistry & db ( ) const

Return the local object registry.

Definition at line 45 of file pointPatch.C.

References objectRegistry::db().

Here is the call graph for this function:

◆ mesh()

const Foam::pointMesh & mesh ( ) const

Return mesh reference.

Definition at line 51 of file pointPatch.C.

References DemandDrivenMeshObject< Mesh, MeshObjectType, Type, RegIOobject >::mesh().

Here is the call graph for this function:

◆ time()

const Foam::Time & time ( ) const

Return time.

Definition at line 57 of file pointPatch.C.

References objectRegistry::time().

Here is the call graph for this function:

◆ boundaryMesh()

const pointBoundaryMesh& boundaryMesh ( ) const
inline

Return boundaryMesh reference.

Definition at line 146 of file pointPatch.H.

Referenced by cyclicPointPatch::nbrPatch().

Here is the caller graph for this function:

◆ constraint()

bool constraint ( ) const
virtual

Return true if this patch is a constraint type.

Definition at line 63 of file pointPatch.C.

◆ coupled()

virtual bool coupled ( ) const
inlinevirtual

Return true if this patch field is coupled.

Reimplemented in facePointPatch.

Definition at line 155 of file pointPatch.H.

◆ meshPoints()

virtual const labelList& meshPoints ( ) const
pure virtual

Return mesh points.

Implemented in facePointPatch.

Referenced by fvMeshSubset::interpolate().

Here is the caller graph for this function:

◆ localPoints()

virtual const vectorField& localPoints ( ) const
pure virtual

Return mesh points.

Implemented in facePointPatch.

◆ pointNormals()

virtual const vectorField& pointNormals ( ) const
pure virtual

Return point normals.

Implemented in facePointPatch, and cyclicSlipPointPatch.

◆ applyConstraint()

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

Accumulate the effect of constraint direction of this patch.

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

Definition at line 170 of file pointPatch.H.

◆ operator=()

void operator= ( const pointPatch )
delete

Disallow default bitwise assignment.

Friends And Related Function Documentation

◆ pointBoundaryMesh

friend class pointBoundaryMesh
friend

Definition at line 73 of file pointPatch.H.


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