OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

patchIdentifier Class Reference

Inheritance diagram for patchIdentifier:

Inheritance graph
[legend]
Collaboration diagram for patchIdentifier:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 59 of file patchIdentifier.H.


Public Member Functions

 patchIdentifier (const word &name, const label index, const word &physicalType=word::null)
 Construct from components.
 patchIdentifier (Istream &, const label index)
 Construct from Istream.
 patchIdentifier (const word &name, const dictionary &dict, const label index)
 Construct from dictionary.
 patchIdentifier (const patchIdentifier &p, const label index)
 Construct from geometric patch, resetting the index.
virtual ~patchIdentifier ()
const word & name () const
 Return name.
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.
void writeDict (Ostream &) const
 Write dictionary.

Friends

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

Constructor & Destructor Documentation

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

Construct from components.

patchIdentifier ( Istream &  ,
const label  index 
)

Construct from Istream.

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

Construct from dictionary.

patchIdentifier ( const patchIdentifier &  p,
const label  index 
)

Construct from geometric patch, resetting the index.

virtual ~patchIdentifier (  )  [virtual]


Member Function Documentation

const word& name (  )  const [inline]

Return name.

Definition at line 112 of file patchIdentifier.H.

Referenced by facePointPatch::patch(), and fvPatch::patch().

Here is the caller graph for this function:

const word& physicalType (  )  const [inline]

Return the optional physical type of the patch.

Definition at line 118 of file patchIdentifier.H.

word& physicalType (  )  [inline]

Return the optional physical type of the patch for modification.

Definition at line 124 of file patchIdentifier.H.

label index (  )  const [inline]

Return the index of this patch in the boundaryMesh.

Definition at line 130 of file patchIdentifier.H.

Referenced by facePointPatch::nFaces().

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 136 of file patchIdentifier.H.

void write ( Ostream &   )  const

Write.

Reimplemented in processorPolyPatch, polyPatch, and boundaryPatch.

void writeDict ( Ostream &   )  const

Write dictionary.

Reimplemented in processorPolyPatch, polyPatch, and boundaryPatch.


Friends And Related Function Documentation

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


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