Public Member Functions | Static Public Member Functions | Protected Attributes | Friends
boundaryPatchBase Class Referenceabstract
Inheritance diagram for boundaryPatchBase:
Inheritance graph
[legend]
Collaboration diagram for boundaryPatchBase:
Collaboration graph
[legend]

Public Member Functions

 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
 
virtual void write (Ostream &) const =0
 Write. More...
 
virtual void writeDict (Ostream &) const =0
 Write dictionary. More...
 
const wordpatchName () const
 
wordpatchName ()
 
const wordpatchType () const
 
wordpatchType ()
 
label patchStart () const
 
labelpatchStart ()
 
label patchSize () const
 
labelpatchSize ()
 
virtual dictionary dict () const =0
 Return as dictionary of entries. More...
 
virtual Istreamoperator>> (Istream &)=0
 

Static Public Member Functions

static autoPtr< boundaryPatchBaseNew (const word &name, const dictionary &dict)
 
static autoPtr< boundaryPatchBaseNew (Istream &)
 

Protected Attributes

word name_
 
word type_
 
label nFaces_
 
label startFace_
 

Friends

Ostreamoperator<< (Ostream &, const boundaryPatchBase &)
 

Detailed Description

Definition at line 50 of file boundaryPatchBase.H.

Constructor & Destructor Documentation

◆ boundaryPatchBase() [1/2]

boundaryPatchBase ( const word n,
const word t,
const label  nF,
const label  sF 
)

Definition at line 97 of file boundaryPatchBase.C.

◆ boundaryPatchBase() [2/2]

boundaryPatchBase ( const word name,
const dictionary dict 
)

◆ ~boundaryPatchBase()

virtual ~boundaryPatchBase ( )
inlinevirtual

Definition at line 82 of file boundaryPatchBase.H.

Member Function Documentation

◆ TypeName()

TypeName ( "boundaryPatchBase"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
boundaryPatchBase  ,
dictionary  ,
(const word &name, const dictionary &dict ,
(name, dict  
)

◆ New() [1/2]

autoPtr< boundaryPatchBase > New ( const word name,
const dictionary dict 
)
static

check the type of processor. Allowed types are processor and patch Other patch types are treated as ordinary patches

Definition at line 53 of file boundaryPatchBase.C.

References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, dictionary::lookup(), Foam::name(), Foam::nl, and Foam::type().

Referenced by boundaryPatchBase::clone(), boundaryPatchBase::New(), and polyMeshGenFaces::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ New() [2/2]

autoPtr< boundaryPatchBase > New ( Istream is)
static

Definition at line 84 of file boundaryPatchBase.C.

References dict, Foam::name(), and boundaryPatchBase::New().

Here is the call graph for this function:

◆ clone()

autoPtr<boundaryPatchBase> clone ( ) const
inline

Definition at line 114 of file boundaryPatchBase.H.

References boundaryPatchBase::dict(), boundaryPatchBase::name_, and boundaryPatchBase::New().

Here is the call graph for this function:

◆ write()

virtual void write ( Ostream ) const
pure virtual

Write.

Implemented in processorBoundaryPatch.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

◆ writeDict()

virtual void writeDict ( Ostream ) const
pure virtual

Write dictionary.

Implemented in processorBoundaryPatch.

◆ patchName() [1/2]

const word& patchName ( ) const
inline

Definition at line 131 of file boundaryPatchBase.H.

References boundaryPatchBase::name_.

Referenced by processorBoundaryPatch::clone(), and processorBoundaryPatch::operator<<().

Here is the caller graph for this function:

◆ patchName() [2/2]

word& patchName ( )
inline

Definition at line 136 of file boundaryPatchBase.H.

References boundaryPatchBase::name_.

◆ patchType() [1/2]

const word& patchType ( ) const
inline

Definition at line 141 of file boundaryPatchBase.H.

References boundaryPatchBase::type_.

Referenced by processorBoundaryPatch::clone(), and processorBoundaryPatch::operator<<().

Here is the caller graph for this function:

◆ patchType() [2/2]

word& patchType ( )
inline

Definition at line 146 of file boundaryPatchBase.H.

References boundaryPatchBase::type_.

◆ patchStart() [1/2]

label patchStart ( ) const
inline

◆ patchStart() [2/2]

label& patchStart ( )
inline

Definition at line 156 of file boundaryPatchBase.H.

References boundaryPatchBase::startFace_.

◆ patchSize() [1/2]

label patchSize ( ) const
inline

◆ patchSize() [2/2]

label& patchSize ( )
inline

Definition at line 166 of file boundaryPatchBase.H.

References boundaryPatchBase::nFaces_.

◆ dict()

virtual dictionary dict ( ) const
pure virtual

Return as dictionary of entries.

Implemented in processorBoundaryPatch.

Referenced by boundaryPatchBase::boundaryPatchBase(), and boundaryPatchBase::clone().

Here is the caller graph for this function:

◆ operator>>()

virtual Istream& operator>> ( Istream )
pure virtual

Implemented in processorBoundaryPatch.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const boundaryPatchBase wpb 
)
friend

Definition at line 125 of file boundaryPatchBase.C.

Field Documentation

◆ name_

word name_
protected

◆ type_

word type_
protected

◆ nFaces_

label nFaces_
protected

◆ startFace_

label startFace_
protected

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