facePointPatch Class Reference

A pointPatch based on a polyPatch. More...

Inheritance diagram for facePointPatch:
[legend]
Collaboration diagram for facePointPatch:
[legend]

Public Member Functions

 TypeName (polyPatch::typeName_())
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
 
 facePointPatch (const polyPatch &p, const pointBoundaryMesh &pm)
 Construct from polyPatch and boundary mesh. More...
 
virtual ~facePointPatch ()=default
 Destructor. More...
 
virtual const polyPatchpatch () const
 Return the polyPatch. More...
 
virtual const wordname () const
 Return name. More...
 
virtual label size () const
 Return size. More...
 
virtual label index () const
 Return the index of this patch in the pointBoundaryMesh. More...
 
virtual bool coupled () const
 Return true if this patch field is coupled. More...
 
virtual const labelListmeshPoints () const
 Return mesh points. More...
 
virtual const pointFieldlocalPoints () const
 Return pointField of points in patch. More...
 
virtual const vectorFieldpointNormals () const
 Return point unit normals. More...
 
- Public Member Functions inherited from pointPatch
 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...
 

Static Public Member Functions

static autoPtr< facePointPatchNew (const polyPatch &, const pointBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch. 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...
 
 facePointPatch (const facePointPatch &)=delete
 No copy construct. More...
 
void operator= (const facePointPatch &)=delete
 No copy assignment. More...
 
- Protected Member Functions inherited from pointPatch
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...
 

Protected Attributes

const polyPatchpolyPatch_
 Reference to the underlying polyPatch. More...
 

Friends

class processorPointPatch
 
class cyclicPointPatch
 

Detailed Description

A pointPatch based on a polyPatch.

Source files

Definition at line 57 of file facePointPatch.H.

Constructor & Destructor Documentation

◆ facePointPatch() [1/2]

facePointPatch ( const facePointPatch )
protecteddelete

No copy construct.

◆ facePointPatch() [2/2]

facePointPatch ( const polyPatch p,
const pointBoundaryMesh pm 
)

Construct from polyPatch and boundary mesh.

Definition at line 81 of file facePointPatch.C.

◆ ~facePointPatch()

virtual ~facePointPatch ( )
virtualdefault

Destructor.

Member Function Documentation

◆ initGeometry()

void initGeometry ( PstreamBuffers )
protectedvirtual

Initialise the calculation of the patch geometry.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.

Definition at line 53 of file facePointPatch.C.

Referenced by facePointPatch::initUpdateMesh().

Here is the caller graph for this function:

◆ calcGeometry()

void calcGeometry ( PstreamBuffers )
protectedvirtual

Calculate the patch geometry.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, cyclicAMIPointPatch, and coupledFacePointPatch.

Definition at line 57 of file facePointPatch.C.

◆ initMovePoints()

void initMovePoints ( PstreamBuffers ,
const pointField  
)
protectedvirtual

Initialise the patches for moving points.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.

Definition at line 61 of file facePointPatch.C.

◆ movePoints()

void movePoints ( PstreamBuffers ,
const pointField  
)
protectedvirtual

Correct patches after moving points.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.

Definition at line 65 of file facePointPatch.C.

◆ initUpdateMesh()

void initUpdateMesh ( PstreamBuffers pBufs)
protectedvirtual

Initialise the update of the patch topology.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.

Definition at line 69 of file facePointPatch.C.

References facePointPatch::initGeometry().

Referenced by cyclicACMIPointPatch::initUpdateMesh(), and cyclicAMIPointPatch::initUpdateMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateMesh()

void updateMesh ( PstreamBuffers )
protectedvirtual

Update of the patch topology.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.

Definition at line 75 of file facePointPatch.C.

◆ operator=()

void operator= ( const facePointPatch )
protecteddelete

No copy assignment.

◆ TypeName()

TypeName ( polyPatch::typeName_()  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
facePointPatch  ,
polyPatch  ,
(const polyPatch &patch, const pointBoundaryMesh &bm)  ,
(patch, bm)   
)

◆ New()

Foam::autoPtr< Foam::facePointPatch > New ( const polyPatch patch,
const pointBoundaryMesh bm 
)
static

Return a pointer to a new patch created on freestore from polyPatch.

Definition at line 33 of file facePointPatchNew.C.

References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and facePointPatch::patch().

Here is the call graph for this function:

◆ patch()

virtual const polyPatch & patch ( ) const
inlinevirtual

Return the polyPatch.

Definition at line 148 of file facePointPatch.H.

References facePointPatch::polyPatch_.

Referenced by facePointPatch::New().

Here is the caller graph for this function:

◆ name()

virtual const word & name ( ) const
inlinevirtual

Return name.

Implements pointPatch.

Definition at line 154 of file facePointPatch.H.

References patchIdentifier::name(), and facePointPatch::polyPatch_.

Here is the call graph for this function:

◆ size()

virtual label size ( ) const
inlinevirtual

Return size.

Implements pointPatch.

Definition at line 160 of file facePointPatch.H.

References facePointPatch::meshPoints(), and UList< T >::size().

Here is the call graph for this function:

◆ index()

virtual label index ( ) const
inlinevirtual

Return the index of this patch in the pointBoundaryMesh.

Implements pointPatch.

Definition at line 166 of file facePointPatch.H.

References patchIdentifier::index(), and facePointPatch::polyPatch_.

Referenced by cyclicACMIPointPatchField< Type >::swapAddSeparated(), cyclicAMIPointPatchField< Type >::swapAddSeparated(), and cyclicPointPatchField< Type >::swapAddSeparated().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ coupled()

virtual bool coupled ( ) const
inlinevirtual

Return true if this patch field is coupled.

Reimplemented from pointPatch.

Reimplemented in cyclicACMIPointPatch, and cyclicAMIPointPatch.

Definition at line 172 of file facePointPatch.H.

References polyPatch::coupled(), and facePointPatch::polyPatch_.

Here is the call graph for this function:

◆ meshPoints()

virtual const labelList & meshPoints ( ) const
inlinevirtual

Return mesh points.

Implements pointPatch.

Definition at line 178 of file facePointPatch.H.

References PrimitivePatch< FaceList, PointField >::meshPoints(), and facePointPatch::polyPatch_.

Referenced by facePointPatch::size().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localPoints()

virtual const pointField & localPoints ( ) const
inlinevirtual

Return pointField of points in patch.

Implements pointPatch.

Definition at line 184 of file facePointPatch.H.

References PrimitivePatch< FaceList, PointField >::localPoints(), and facePointPatch::polyPatch_.

Here is the call graph for this function:

◆ pointNormals()

virtual const vectorField & pointNormals ( ) const
inlinevirtual

Return point unit normals.

Implements pointPatch.

Reimplemented in cyclicSlipPointPatch, and nonuniformTransformCyclicPointPatch.

Definition at line 190 of file facePointPatch.H.

References PrimitivePatch< FaceList, PointField >::pointNormals(), and facePointPatch::polyPatch_.

Referenced by emptyPointPatch::applyConstraint(), and symmetryPointPatch::applyConstraint().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ processorPointPatch

friend class processorPointPatch
friend

Definition at line 101 of file facePointPatch.H.

◆ cyclicPointPatch

friend class cyclicPointPatch
friend

Definition at line 102 of file facePointPatch.H.

Member Data Documentation

◆ polyPatch_


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