Processor patch boundary needs to be such that the ordering of points in the patch is the same on both sides. More...
#include <OpenFOAM/processorPointPatch.H>
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 58 of file processorPointPatch.H.
Public Member Functions | |
TypeName (processorPolyPatch::typeName_()) | |
Runtime type information. | |
processorPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
Construct from components. | |
virtual | ~processorPointPatch () |
virtual bool | coupled () const |
Return true if running parallel. | |
int | myProcNo () const |
Return processor number. | |
int | neighbProcNo () const |
Return neigbour processor number. | |
bool | isMaster () const |
Is this a master patch. | |
bool | isSlave () const |
Is this a slave patch. | |
const processorPolyPatch & | procPolyPatch () const |
Return the underlying processorPolyPatch. | |
![]() | |
TypeName (coupledPolyPatch::typeName_()) | |
Runtime type information. | |
coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm) | |
Construct from components. | |
virtual | ~coupledFacePointPatch () |
virtual const labelList & | nonGlobalPatchPoints () const |
Return the set of labels of the pointPatch points which are. | |
virtual const labelList & | loneMeshPoints () const |
Return the set of labels of the pointPatch points which are. | |
virtual const vectorField & | pointNormals () const |
Return point unit normals. Not impelemented. | |
![]() | |
TypeName (polyPatch::typeName_()) | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm)) | |
facePointPatch (const polyPatch &, const pointBoundaryMesh &) | |
Construct from polyPatch. | |
virtual | ~facePointPatch () |
const polyPatch & | patch () const |
Return the polyPatch. | |
virtual const word & | name () const |
Return name. | |
virtual label | size () const |
Return size. | |
virtual label | index () const |
Return the index of this patch in the pointBoundaryMesh. | |
virtual const labelList & | meshPoints () const |
Return mesh points. | |
virtual const pointField & | localPoints () const |
Return pointField of points in patch. | |
![]() | |
TypeName ("basePatch") | |
Runtime type information. | |
pointPatch (const pointBoundaryMesh &bm) | |
virtual | ~pointPatch () |
const pointBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. | |
virtual void | applyConstraint (const label pointi, pointConstraint &) const |
Accumulate the effect of constraint direction of this patch. | |
![]() | |
coupledPointPatch (const pointBoundaryMesh &bm) | |
Construct from components. | |
virtual | ~coupledPointPatch () |
Additional Inherited Members | |
![]() | |
labelList | nonGlobalPatchPoints_ |
The set of labels of the pointPatch points which are. | |
labelList | loneMeshPoints_ |
![]() | |
const polyPatch & | polyPatch_ |
Reference to the underlying polyPatch. | |
labelList | meshPoints_ |
pointField | localPoints_ |
vectorField | pointNormals_ |
processorPointPatch | ( | const polyPatch & | patch, |
const pointBoundaryMesh & | bm | ||
) |
Construct from components.
Definition at line 387 of file processorPointPatch.C.
|
virtual |
Definition at line 399 of file processorPointPatch.C.
TypeName | ( | processorPolyPatch:: | typeName_() | ) |
Runtime type information.
|
inlinevirtual |
Return true if running parallel.
Reimplemented from coupledFacePointPatch.
Definition at line 126 of file processorPointPatch.H.
References Pstream::parRun().
|
inline |
Return processor number.
Definition at line 139 of file processorPointPatch.H.
References processorPolyPatch::myProcNo().
Referenced by processorPointPatch::isMaster().
|
inline |
Return neigbour processor number.
Definition at line 145 of file processorPointPatch.H.
References processorPolyPatch::neighbProcNo().
Referenced by processorPointPatch::isMaster().
|
inline |
Is this a master patch.
Definition at line 151 of file processorPointPatch.H.
References processorPointPatch::myProcNo(), and processorPointPatch::neighbProcNo().
Referenced by processorPointPatch::isSlave().
|
inline |
Is this a slave patch.
Definition at line 157 of file processorPointPatch.H.
References processorPointPatch::isMaster().
|
inline |
Return the underlying processorPolyPatch.
Definition at line 163 of file processorPointPatch.H.
Referenced by processorPointPatchField< Type >::doTransform().