processorCyclicPointPatch Class Reference

Processor patch boundary needs to be such that the ordering of points in the patch is the same on both sides. More...

Inheritance diagram for processorCyclicPointPatch:
Collaboration diagram for processorCyclicPointPatch:

Public Member Functions

 TypeName (processorCyclicPolyPatch::typeName_())
 Runtime type information. More...
 
 processorCyclicPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~processorCyclicPointPatch ()
 
virtual int tag () const
 Return message tag to use for communication. More...
 
const processorCyclicPolyPatchprocCyclicPolyPatch () const
 Return the underlying processorCyclicPolyPatch. More...
 
- Public Member Functions inherited from processorPointPatch
 TypeName (processorPolyPatch::typeName_())
 Runtime type information. More...
 
 processorPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~processorPointPatch ()
 Destructor. More...
 
virtual label comm () const
 Return communicator used for communication. More...
 
int myProcNo () const
 Return processor number. More...
 
int neighbProcNo () const
 Return neighbour processor number. More...
 
bool isMaster () const
 Is this a master patch. More...
 
bool isSlave () const
 Is this a slave patch. More...
 
const labelListreverseMeshPoints () const
 Return mesh points in the correct order for the receiving side. More...
 
- Public Member Functions inherited from coupledFacePointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information. More...
 
 coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~coupledFacePointPatch ()
 Destructor. More...
 
- Public Member Functions inherited from facePointPatch
 TypeName (polyPatch::typeName_())
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
 
 facePointPatch (const polyPatch &, const pointBoundaryMesh &)
 Construct from polyPatch. More...
 
 facePointPatch (const facePointPatch &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~facePointPatch ()
 Destructor. More...
 
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...
 
void operator= (const facePointPatch &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from pointPatch
 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 pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference. 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...
 
- Public Member Functions inherited from coupledPointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information. More...
 
 coupledPointPatch (const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~coupledPointPatch ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from facePointPatch
static autoPtr< facePointPatchNew (const polyPatch &, const pointBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch. More...
 
- Protected Attributes inherited from facePointPatch
const polyPatchpolyPatch_
 Reference to the underlying polyPatch. More...
 

Detailed Description

Processor patch boundary needs to be such that the ordering of points in the patch is the same on both sides.

Looking at the creation of the faces on both sides of the processor patch they need to be identical on both sides with the normals pointing in opposite directions. This is achieved by calling the reverseFace function in the decomposition. It is therefore possible to re-create the ordering of patch points on the slave side by reversing all the patch faces of the owner.

Source files

Definition at line 57 of file processorCyclicPointPatch.H.

Constructor & Destructor Documentation

◆ processorCyclicPointPatch()

processorCyclicPointPatch ( const polyPatch patch,
const pointBoundaryMesh bm 
)

Construct from components.

Definition at line 50 of file processorCyclicPointPatch.C.

◆ ~processorCyclicPointPatch()

Definition at line 62 of file processorCyclicPointPatch.C.

Member Function Documentation

◆ TypeName()

TypeName ( processorCyclicPolyPatch::typeName_()  )

Runtime type information.

◆ tag()

virtual int tag ( ) const
inlinevirtual

Return message tag to use for communication.

Reimplemented from processorPointPatch.

Definition at line 96 of file processorCyclicPointPatch.H.

References processorCyclicPolyPatch::tag().

Here is the call graph for this function:

◆ procCyclicPolyPatch()

const processorCyclicPolyPatch& procCyclicPolyPatch ( ) const
inline

Return the underlying processorCyclicPolyPatch.

Definition at line 102 of file processorCyclicPointPatch.H.


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