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.
|
processorPointPatch | ( | const polyPatch & | patch, |
const pointBoundaryMesh & | bm | ||
) |
Construct from components.
Definition at line 387 of file processorPointPatch.C.
~processorPointPatch | ( | ) | [virtual]
|
Definition at line 399 of file processorPointPatch.C.
TypeName | ( | processorPolyPatch:: | typeName_() ) |
Runtime type information.
virtual bool coupled | ( | ) | const [inline, virtual]
|
Return true if running parallel.
Reimplemented from coupledFacePointPatch.
Definition at line 126 of file processorPointPatch.H.
References Pstream::parRun().
int myProcNo | ( | ) | const [inline]
|
Return processor number.
Definition at line 139 of file processorPointPatch.H.
References processorPolyPatch::myProcNo().
Referenced by processorPointPatch::isMaster().
int neighbProcNo | ( | ) | const [inline]
|
Return neigbour processor number.
Definition at line 145 of file processorPointPatch.H.
References processorPolyPatch::neighbProcNo().
Referenced by processorPointPatch::isMaster().
bool isMaster | ( | ) | const [inline]
|
Is this a master patch.
Definition at line 151 of file processorPointPatch.H.
References processorPointPatch::myProcNo(), and processorPointPatch::neighbProcNo().
Referenced by processorPointPatch::isSlave().
bool isSlave | ( | ) | const [inline]
|
Is this a slave patch.
Definition at line 157 of file processorPointPatch.H.
References processorPointPatch::isMaster().
const processorPolyPatch& procPolyPatch | ( | ) | const [inline]
|
Return the underlying processorPolyPatch.
Definition at line 163 of file processorPointPatch.H.
Referenced by processorPointPatchField< Type >::doTransform().