Public Member Functions | Private Attributes
processorBoundaryPatch Class Reference
Inheritance diagram for processorBoundaryPatch:
Inheritance graph
[legend]
Collaboration diagram for processorBoundaryPatch:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("processor")
 
 processorBoundaryPatch (const word &name, const word &type, const label nFaces, const label startFace, const label myProcNo, const label neighbProcNo)
 
 processorBoundaryPatch (const word &name, const dictionary &)
 
virtual autoPtr< boundaryPatchBaseclone () const
 
virtual autoPtr< boundaryPatchBaseclone (const processorBoundaryPatch &pp) const
 
label myProcNo () const
 return the owner processor More...
 
label neiProcNo () const
 return the neighbour processor More...
 
bool owner () const
 check if the processor is the owner of the interface More...
 
dictionary dict () const
 Return as dictionary of entries. More...
 
void write (Ostream &) const
 write to Ostream More...
 
void writeDict (Ostream &) const
 Write dictionary. More...
 
Ostreamoperator<< (Ostream &) const
 
Istreamoperator>> (Istream &)
 
void operator= (const processorBoundaryPatch &)
 
bool operator!= (const processorBoundaryPatch &) const
 
- Public Member Functions inherited from boundaryPatchBase
 TypeName ("boundaryPatchBase")
 Runtime type information. More...
 
 boundaryPatchBase (const word &, const word &, const label, const label)
 
 boundaryPatchBase (const word &name, const dictionary &)
 
virtual ~boundaryPatchBase ()
 
 declareRunTimeSelectionTable (autoPtr, boundaryPatchBase, dictionary,(const word &name, const dictionary &dict),(name, dict))
 
autoPtr< boundaryPatchBaseclone () const
 
const wordpatchName () const
 
wordpatchName ()
 
const wordpatchType () const
 
wordpatchType ()
 
label patchStart () const
 
labelpatchStart ()
 
label patchSize () const
 
labelpatchSize ()
 

Private Attributes

label myProcNo_
 
label neighbProcNo_
 

Additional Inherited Members

- Static Public Member Functions inherited from boundaryPatchBase
static autoPtr< boundaryPatchBaseNew (const word &name, const dictionary &dict)
 
static autoPtr< boundaryPatchBaseNew (Istream &)
 
- Protected Attributes inherited from boundaryPatchBase
word name_
 
word type_
 
label nFaces_
 
label startFace_
 

Detailed Description

Definition at line 47 of file processorBoundaryPatch.H.

Constructor & Destructor Documentation

◆ processorBoundaryPatch() [1/2]

processorBoundaryPatch ( const word name,
const word type,
const label  nFaces,
const label  startFace,
const label  myProcNo,
const label  neighbProcNo 
)

Definition at line 46 of file processorBoundaryPatch.C.

◆ processorBoundaryPatch() [2/2]

processorBoundaryPatch ( const word name,
const dictionary dict 
)

Definition at line 61 of file processorBoundaryPatch.C.

Member Function Documentation

◆ TypeName()

TypeName ( "processor"  )

◆ clone() [1/2]

virtual autoPtr<boundaryPatchBase> clone ( ) const
inlinevirtual

◆ clone() [2/2]

virtual autoPtr<boundaryPatchBase> clone ( const processorBoundaryPatch pp) const
inlinevirtual

◆ myProcNo()

label myProcNo ( ) const
inline

return the owner processor

Definition at line 112 of file processorBoundaryPatch.H.

References processorBoundaryPatch::myProcNo_.

◆ neiProcNo()

label neiProcNo ( ) const
inline

return the neighbour processor

Definition at line 118 of file processorBoundaryPatch.H.

References processorBoundaryPatch::neighbProcNo_.

Referenced by boundaryLayers::createNewFacesFromPointsParallel(), and boundaryLayers::createNewFacesParallel().

Here is the caller graph for this function:

◆ owner()

bool owner ( ) const
inline

check if the processor is the owner of the interface

Definition at line 124 of file processorBoundaryPatch.H.

References processorBoundaryPatch::myProcNo_, and processorBoundaryPatch::neighbProcNo_.

Referenced by checkBoundaryFacesSharingTwoEdges::removeExcessiveVertices().

Here is the caller graph for this function:

◆ dict()

dictionary dict ( ) const
virtual

Return as dictionary of entries.

Implements boundaryPatchBase.

Definition at line 74 of file processorBoundaryPatch.C.

References dictionary::add(), processorBoundaryPatch::myProcNo_, processorBoundaryPatch::neighbProcNo_, boundaryPatchBase::nFaces_, boundaryPatchBase::startFace_, and boundaryPatchBase::type_.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

write to Ostream

Implements boundaryPatchBase.

Definition at line 88 of file processorBoundaryPatch.C.

References processorBoundaryPatch::operator<<().

Here is the call graph for this function:

◆ writeDict()

void writeDict ( Ostream ) const
virtual

Write dictionary.

Implements boundaryPatchBase.

Definition at line 93 of file processorBoundaryPatch.C.

◆ operator<<()

Ostream & operator<< ( Ostream os) const

◆ operator>>()

Istream & operator>> ( Istream is)
virtual

◆ operator=()

void operator= ( const processorBoundaryPatch wp)

◆ operator!=()

bool operator!= ( const processorBoundaryPatch wp) const

Field Documentation

◆ myProcNo_

label myProcNo_
private

◆ neighbProcNo_

label neighbProcNo_
private

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