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

ZoneID Class Template Reference

Collaboration diagram for ZoneID:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class ZoneType>
class Foam::ZoneID< ZoneType >

Definition at line 67 of file ZoneID.H.


Public Member Functions

 ZoneID (const word &name, const ZoneMesh< ZoneType > &zm)
 Construct from name.
 ZoneID (Istream &is, const ZoneMesh< ZoneType > &zm)
 Construct from Istream.
const word & name () const
 Return name.
label index () const
 Return index.
bool active () const
 Has the zone been found.
void update (const ZoneMesh< ZoneType > &zm)
 Update.

Friends

Ostream & operator (Ostream &os, const ZoneID< ZoneType > &p)

Constructor & Destructor Documentation

ZoneID ( const word &  name,
const ZoneMesh< ZoneType > &  zm 
) [inline]

Construct from name.

Definition at line 83 of file ZoneID.H.

ZoneID ( Istream &  is,
const ZoneMesh< ZoneType > &  zm 
) [inline]

Construct from Istream.

Definition at line 90 of file ZoneID.H.


Member Function Documentation

const word& name (  )  const [inline]

Return name.

Definition at line 105 of file ZoneID.H.

label index (  )  const [inline]

Return index.

Definition at line 111 of file ZoneID.H.

bool active (  )  const [inline]

Has the zone been found.

Definition at line 117 of file ZoneID.H.

References ZoneMesh::findZoneID().

Here is the call graph for this function:

void update ( const ZoneMesh< ZoneType > &  zm  )  [inline]

Update.

Definition at line 125 of file ZoneID.H.


Friends And Related Function Documentation

Ostream& operator ( Ostream &  os,
const ZoneID< ZoneType > &  p 
) [friend]


The documentation for this class was generated from the following file:
  • src/OpenFOAM/meshes/polyMesh/zones/ZoneID/ZoneID.H
Copyright © 2000-2007 OpenCFD Ltd