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

ZoneID< ZoneType > Class Template Reference

A class that holds the data needed to identify a zone in a dynamic mesh. More...

Inheritance diagram for ZoneID< ZoneType >:
Collaboration diagram for ZoneID< ZoneType >:

List of all members.


Public Member Functions

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

Friends

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

Detailed Description

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

A class that holds the data needed to identify a zone in a dynamic mesh.

The zone is identified by name. Its index in the zoneMesh is updated if the mesh has changed.

Definition at line 53 of file ZoneID.H.


Constructor & Destructor Documentation

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

Construct from name.

Definition at line 69 of file ZoneID.H.

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

Construct from Istream.

Definition at line 76 of file ZoneID.H.


Member Function Documentation

const word& name (  )  const [inline]

Return name.

Definition at line 91 of file ZoneID.H.

label index (  )  const [inline]

Return index.

Definition at line 97 of file ZoneID.H.

bool active (  )  const [inline]

Has the zone been found.

Definition at line 103 of file ZoneID.H.

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

Update.

Definition at line 111 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-2009 OpenCFD Ltd