OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

processorPointPatch 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 processorPointPatch:
Collaboration diagram for processorPointPatch:

List of all members.


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.

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 53 of file processorPointPatch.H.


Constructor & Destructor Documentation

processorPointPatch ( const polyPatch &  patch,
const pointBoundaryMesh &  bm 
)

Construct from components.

Definition at line 379 of file processorPointPatch.C.

References facePointPatch::updateMesh().

Here is the call graph for this function:

~processorPointPatch (  )  [virtual]

Definition at line 391 of file processorPointPatch.C.


Member Function Documentation

TypeName ( processorPolyPatch::  typeName_()  ) 

Runtime type information.

virtual bool coupled (  )  const [inline, virtual]

Return true if running parallel.

Reimplemented from coupledFacePointPatch.

Definition at line 125 of file processorPointPatch.H.

References Pstream::parRun().

Here is the call graph for this function:

int myProcNo (  )  const [inline]

Return processor number.

Definition at line 138 of file processorPointPatch.H.

References processorPolyPatch::myProcNo().

Referenced by processorPointPatch::isMaster().

Here is the call graph for this function:

Here is the caller graph for this function:

int neighbProcNo (  )  const [inline]

Return neigbour processor number.

Definition at line 144 of file processorPointPatch.H.

References processorPolyPatch::neighbProcNo().

Referenced by processorPointPatch::isMaster().

Here is the call graph for this function:

Here is the caller graph for this function:

bool isMaster (  )  const [inline]

Is this a master patch.

Definition at line 150 of file processorPointPatch.H.

References processorPointPatch::myProcNo(), and processorPointPatch::neighbProcNo().

Referenced by processorPointPatch::isSlave().

Here is the call graph for this function:

Here is the caller graph for this function:

bool isSlave (  )  const [inline]

Is this a slave patch.

Definition at line 156 of file processorPointPatch.H.

References processorPointPatch::isMaster().

Here is the call graph for this function:

const processorPolyPatch& procPolyPatch (  )  const [inline]

Return the underlying processorPolyPatch.

Definition at line 162 of file processorPointPatch.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd