Processor patch boundary needs to be such that the ordering of points in the patch is the same on both sides. More...
Public Member Functions | |
TypeName (processorCyclicPolyPatch::typeName_()) | |
Runtime type information. More... | |
processorCyclicPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
Construct from components. More... | |
virtual | ~processorCyclicPointPatch () |
Destructor. More... | |
virtual int | tag () const |
Return message tag to use for communication. More... | |
const processorCyclicPolyPatch & | procCyclicPolyPatch () 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 ()=default |
Destructor. More... | |
virtual int | tag () const |
Return message tag to use for communication. More... | |
virtual label | comm () const |
Return communicator used for communication. More... | |
virtual const word & | constraintType () const |
Return the constraint type this pointPatch implements. More... | |
int | myProcNo () const |
Return processor number. More... | |
int | neighbProcNo () const |
Return neighbour processor number. More... | |
bool | owner () const |
Does the processor own the patch ? More... | |
bool | neighbour () const |
Is the processor the patch neighbour ? More... | |
const processorPolyPatch & | procPolyPatch () const |
Return the underlying processorPolyPatch. More... | |
const labelList & | reverseMeshPoints () 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 ()=default |
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 &p, const pointBoundaryMesh &pm) | |
Construct from polyPatch and boundary mesh. More... | |
virtual | ~facePointPatch ()=default |
Destructor. More... | |
virtual const polyPatch & | patch () const |
Return the polyPatch. More... | |
virtual const word & | name () 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 labelList & | meshPoints () const |
Return mesh points. More... | |
virtual const pointField & | localPoints () const |
Return pointField of points in patch. More... | |
virtual const vectorField & | pointNormals () 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 word & | name () 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 pointBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. More... | |
virtual bool | coupled () const |
Return true if this patch field is coupled. More... | |
virtual const labelList & | meshPoints () const =0 |
Return mesh points. More... | |
virtual const vectorField & | localPoints () const =0 |
Return pointField of points in patch. More... | |
virtual const vectorField & | pointNormals () const =0 |
Return point unit normals. More... | |
virtual const word & | constraintType () 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... | |
Public Member Functions inherited from coupledPointPatch | |
TypeName (coupledPolyPatch::typeName_()) | |
Runtime type information. More... | |
coupledPointPatch (const pointBoundaryMesh &bm) | |
Construct from components. More... | |
virtual | ~coupledPointPatch ()=default |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from facePointPatch | |
static autoPtr< facePointPatch > | New (const polyPatch &, const pointBoundaryMesh &) |
Return a pointer to a new patch created on freestore from polyPatch. More... | |
Protected Member Functions inherited from coupledFacePointPatch | |
virtual void | calcGeometry (PstreamBuffers &)=0 |
Calculate mesh points. More... | |
coupledFacePointPatch (const coupledFacePointPatch &)=delete | |
No copy construct. More... | |
void | operator= (const coupledFacePointPatch &)=delete |
No copy assignment. More... | |
Protected Member Functions inherited from facePointPatch | |
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 Member Functions inherited from coupledPointPatch | |
virtual void | initGeometry (PstreamBuffers &)=0 |
Initialise the calculation of the patch geometry. More... | |
virtual void | calcGeometry (PstreamBuffers &)=0 |
Calculate the patch geometry. More... | |
virtual void | initMovePoints (PstreamBuffers &, const pointField &)=0 |
Initialise the patches for moving points. More... | |
virtual void | movePoints (PstreamBuffers &, const pointField &)=0 |
Correct patches after moving points. More... | |
virtual void | initUpdateMesh (PstreamBuffers &)=0 |
Initialise the update of the patch topology. More... | |
virtual void | updateMesh (PstreamBuffers &)=0 |
Update of the patch topology. More... | |
coupledPointPatch (const coupledPointPatch &)=delete | |
No copy construct. More... | |
void | operator= (const coupledPointPatch &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from facePointPatch | |
const polyPatch & | polyPatch_ |
Reference to the underlying polyPatch. More... | |
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 neighbour side by reversing all the patch faces of the owner.
Definition at line 59 of file processorCyclicPointPatch.H.
processorCyclicPointPatch | ( | const polyPatch & | patch, |
const pointBoundaryMesh & | bm | ||
) |
Construct from components.
Definition at line 51 of file processorCyclicPointPatch.C.
|
virtual |
Destructor.
Definition at line 64 of file processorCyclicPointPatch.C.
TypeName | ( | processorCyclicPolyPatch::typeName_() | ) |
Runtime type information.
|
inlinevirtual |
Return message tag to use for communication.
Reimplemented from processorPointPatch.
Definition at line 99 of file processorCyclicPointPatch.H.
References processorCyclicPolyPatch::tag().
|
inline |
Return the underlying processorCyclicPolyPatch.
Definition at line 105 of file processorCyclicPointPatch.H.