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

patchIdentifier Class Reference

Identifies patch by name, patch index and physical type. More...

Inheritance diagram for patchIdentifier:
Collaboration diagram for patchIdentifier:

List of all members.


Public Member Functions

 patchIdentifier (const word &name, const label index, const word &physicalType=word::null)
 Construct from components.
 patchIdentifier (const word &name, const dictionary &, const label index)
 Construct from dictionary.
 patchIdentifier (const patchIdentifier &, const label index)
 Construct from geometric patch, resetting the index.
virtual ~patchIdentifier ()
const word & name () const
 Return name.
word & name ()
 Return name for modification.
const word & physicalType () const
 Return the optional physical type of the patch.
word & physicalType ()
 Return the optional physical type of the patch for modification.
label index () const
 Return the index of this patch in the boundaryMesh.
label & index ()
 Return the index of this patch in the boundaryMesh for modification.
void write (Ostream &) const
 Write patchIdentifier as a dictionary.

Friends

Ostream & operator<< (Ostream &, const patchIdentifier &)

Detailed Description

Identifies patch by name, patch index and physical type.

Source files

Definition at line 53 of file patchIdentifier.H.


Constructor & Destructor Documentation

patchIdentifier ( const word &  name,
const label  index,
const word &  physicalType = word::null 
)

Construct from components.

Definition at line 24 of file patchIdentifier.C.

patchIdentifier ( const word &  name,
const dictionary &  dict,
const label  index 
)

Construct from dictionary.

Definition at line 37 of file patchIdentifier.C.

patchIdentifier ( const patchIdentifier &  p,
const label  index 
)

Construct from geometric patch, resetting the index.

Definition at line 51 of file patchIdentifier.C.

References dictionary::readIfPresent().

Here is the call graph for this function:

~patchIdentifier (  )  [virtual]

Definition at line 64 of file patchIdentifier.C.


Member Function Documentation

const word& name (  )  const [inline]

word& name (  )  [inline]

Return name for modification.

Definition at line 109 of file patchIdentifier.H.

const word& physicalType (  )  const [inline]

Return the optional physical type of the patch.

Definition at line 115 of file patchIdentifier.H.

word& physicalType (  )  [inline]

Return the optional physical type of the patch for modification.

Definition at line 121 of file patchIdentifier.H.

label index (  )  const [inline]

Return the index of this patch in the boundaryMesh.

Definition at line 127 of file patchIdentifier.H.

Referenced by fvPatch::boundaryMesh().

Here is the caller graph for this function:

label& index (  )  [inline]

Return the index of this patch in the boundaryMesh for modification.

Definition at line 133 of file patchIdentifier.H.

void write ( Ostream &  os  )  const


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  ,
const patchIdentifier &   
) [friend]


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