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 (processorPolyPatch::typeName_()) | |
Runtime type information. More... | |
processorPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
Construct from components. More... | |
virtual | ~processorPointPatch () |
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 | isMaster () const |
Is this a master patch. More... | |
bool | isSlave () const |
Is this a slave patch. 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... | |
![]() | |
TypeName (coupledPolyPatch::typeName_()) | |
Runtime type information. More... | |
coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
Construct from components. More... | |
virtual | ~coupledFacePointPatch () |
Destructor. More... | |
![]() | |
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... | |
![]() | |
TypeName ("basePatch") | |
Runtime type information. More... | |
pointPatch (const pointBoundaryMesh &bm) | |
Construct from boundary mesh. More... | |
virtual | ~pointPatch ()=default |
Destructor. More... | |
const pointBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. More... | |
virtual void | applyConstraint (const label pointi, pointConstraint &) const |
Accumulate the effect of constraint direction of this patch. More... | |
![]() | |
TypeName (coupledPolyPatch::typeName_()) | |
Runtime type information. More... | |
coupledPointPatch (const pointBoundaryMesh &bm) | |
Construct from components. More... | |
virtual | ~coupledPointPatch () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< facePointPatch > | New (const polyPatch &, const pointBoundaryMesh &) |
Return a pointer to a new patch created on freestore from polyPatch. More... | |
![]() | |
facePointPatch (const facePointPatch &)=delete | |
No copy construct. More... | |
void | operator= (const facePointPatch &)=delete |
No copy assignment. More... | |
![]() | |
pointPatch (const pointPatch &)=delete | |
No copy construct. More... | |
void | operator= (const pointPatch &)=delete |
No copy assignment. More... | |
![]() | |
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 slave side by reversing all the patch faces of the owner.
Definition at line 59 of file processorPointPatch.H.
processorPointPatch | ( | const polyPatch & | patch, |
const pointBoundaryMesh & | bm | ||
) |
Construct from components.
Definition at line 110 of file processorPointPatch.C.
|
virtual |
Destructor.
Definition at line 122 of file processorPointPatch.C.
TypeName | ( | processorPolyPatch::typeName_() | ) |
Runtime type information.
|
inlinevirtual |
Return message tag to use for communication.
Reimplemented in processorCyclicPointPatch.
Definition at line 120 of file processorPointPatch.H.
References processorPolyPatch::tag().
|
inlinevirtual |
Return communicator used for communication.
Definition at line 126 of file processorPointPatch.H.
References processorPolyPatch::comm().
|
inlinevirtual |
Return the constraint type this pointPatch implements.
Reimplemented from pointPatch.
Definition at line 132 of file processorPointPatch.H.
References Foam::type().
|
inline |
Return processor number.
Definition at line 138 of file processorPointPatch.H.
References processorPolyPatch::myProcNo().
Referenced by processorPointPatch::isMaster().
|
inline |
Return neighbour processor number.
Definition at line 144 of file processorPointPatch.H.
References processorPolyPatch::neighbProcNo().
Referenced by processorPointPatch::isMaster().
|
inline |
Is this a master patch.
Definition at line 150 of file processorPointPatch.H.
References processorPointPatch::myProcNo(), and processorPointPatch::neighbProcNo().
Referenced by processorPointPatch::isSlave().
|
inline |
Is this a slave patch.
Definition at line 156 of file processorPointPatch.H.
References processorPointPatch::isMaster().
|
inline |
Return the underlying processorPolyPatch.
Definition at line 162 of file processorPointPatch.H.
Referenced by processorPointPatchField< Type >::doTransform(), and processorCyclicPointPatchField< Type >::doTransform().
const Foam::labelList & reverseMeshPoints | ( | ) | const |
Return mesh points in the correct order for the receiving side.
Definition at line 128 of file processorPointPatch.C.