FreeFOAM The Cross-Platform CFD Toolkit
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...

#include <OpenFOAM/processorPointPatch.H>


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

+ 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 processorPolyPatchprocPolyPatch () const
 Return the underlying processorPolyPatch.
- Public Member Functions inherited from coupledFacePointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information.
 coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components.
virtual ~coupledFacePointPatch ()
virtual const labelListnonGlobalPatchPoints () const
 Return the set of labels of the pointPatch points which are.
virtual const labelListloneMeshPoints () const
 Return the set of labels of the pointPatch points which are.
virtual const vectorFieldpointNormals () const
 Return point unit normals. Not impelemented.
- Public Member Functions inherited from facePointPatch
 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 polyPatchpatch () const
 Return the polyPatch.
virtual const wordname () const
 Return name.
virtual label size () const
 Return size.
virtual label index () const
 Return the index of this patch in the pointBoundaryMesh.
virtual const labelListmeshPoints () const
 Return mesh points.
virtual const pointFieldlocalPoints () const
 Return pointField of points in patch.
- Public Member Functions inherited from pointPatch
 TypeName ("basePatch")
 Runtime type information.
 pointPatch (const pointBoundaryMesh &bm)
virtual ~pointPatch ()
const pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference.
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch.
- Public Member Functions inherited from coupledPointPatch
 coupledPointPatch (const pointBoundaryMesh &bm)
 Construct from components.
virtual ~coupledPointPatch ()

Additional Inherited Members

- Protected Attributes inherited from coupledFacePointPatch
labelList nonGlobalPatchPoints_
 The set of labels of the pointPatch points which are.
labelList loneMeshPoints_
- Protected Attributes inherited from facePointPatch
const polyPatchpolyPatch_
 Reference to the underlying polyPatch.
labelList meshPoints_
pointField localPoints_
vectorField pointNormals_

Constructor & Destructor Documentation

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.


Member Function Documentation

TypeName ( processorPolyPatch::  typeName_())

Runtime type information.

virtual bool coupled ( ) const
inlinevirtual

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().


The documentation for this class was generated from the following files: