Public Member Functions | Friends | List of all members
boundaryPatch Class Reference

Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in boundaryMesh to hold data on patches. More...

Inheritance diagram for boundaryPatch:
Inheritance graph
[legend]
Collaboration diagram for boundaryPatch:
Collaboration graph
[legend]

Public Member Functions

 boundaryPatch (const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
 Construct from components. More...
 
 boundaryPatch (const word &name, const dictionary &dict, const label index)
 Construct from dictionary. More...
 
 boundaryPatch (const boundaryPatch &)
 Construct as copy. More...
 
 boundaryPatch (const boundaryPatch &, const label index)
 Construct as copy, resetting the index. More...
 
autoPtr< boundaryPatchclone () const
 Clone. More...
 
 ~boundaryPatch ()
 Destructor. More...
 
label size () const
 
labelsize ()
 
label start () const
 
labelstart ()
 
virtual void write (Ostream &) const
 Write dictionary. More...
 
- Public Member Functions inherited from patchIdentifier
 patchIdentifier (const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
 Construct from components. More...
 
 patchIdentifier (const word &name, const dictionary &, const label index)
 Construct from dictionary. More...
 
 patchIdentifier (const patchIdentifier &, const label index)
 Construct from geometric patch, resetting the index. More...
 
virtual ~patchIdentifier ()
 Destructor. More...
 
const wordname () const
 Return name. More...
 
wordname ()
 Return name for modification. More...
 
const wordphysicalType () const
 Return the optional physical type of the patch. More...
 
wordphysicalType ()
 Return the optional physical type of the patch for modification. More...
 
label index () const
 Return the index of this patch in the boundaryMesh. More...
 
labelindex ()
 Return the index of this patch in the boundaryMesh for modification. More...
 
const wordListinGroups () const
 Return the optional groups patch belongs to. More...
 
wordListinGroups ()
 Return the optional groups patch belongs to for modification. More...
 
bool inGroup (const word &) const
 Test if in group. More...
 
void write (Ostream &) const
 Write patchIdentifier as a dictionary. More...
 

Friends

Ostreamoperator<< (Ostream &, const boundaryPatch &)
 

Detailed Description

Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in boundaryMesh to hold data on patches.

Source files

Definition at line 50 of file boundaryPatch.H.

Constructor & Destructor Documentation

boundaryPatch ( const word name,
const label  index,
const label  size,
const label  start,
const word physicalType = word::null 
)

Construct from components.

Definition at line 33 of file boundaryPatch.C.

Referenced by boundaryPatch::clone().

Here is the caller graph for this function:

boundaryPatch ( const word name,
const dictionary dict,
const label  index 
)

Construct from dictionary.

Definition at line 48 of file boundaryPatch.C.

boundaryPatch ( const boundaryPatch p)

Construct as copy.

Definition at line 60 of file boundaryPatch.C.

boundaryPatch ( const boundaryPatch p,
const label  index 
)

Construct as copy, resetting the index.

Definition at line 68 of file boundaryPatch.C.

Destructor.

Definition at line 84 of file boundaryPatch.C.

Member Function Documentation

Foam::autoPtr< Foam::boundaryPatch > clone ( ) const

Clone.

Definition at line 76 of file boundaryPatch.C.

References boundaryPatch::boundaryPatch().

Here is the call graph for this function:

label size ( ) const
inline
label& size ( )
inline

Definition at line 102 of file boundaryPatch.H.

label start ( ) const
inline
label& start ( )
inline

Definition at line 112 of file boundaryPatch.H.

References boundaryPatch::operator<<, and boundaryPatch::write().

Here is the call graph for this function:

void write ( Ostream os) const
virtual

Write dictionary.

Definition at line 90 of file boundaryPatch.C.

References IOstream::check(), token::END_STATEMENT, Foam::nl, Foam::operator<<(), p, boundaryPatch::write(), patchIdentifier::write(), and Ostream::writeKeyword().

Referenced by boundaryPatch::start(), and boundaryPatch::write().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

Ostream& operator<< ( Ostream ,
const boundaryPatch  
)
friend

Referenced by boundaryPatch::start().


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