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

cellZone Class Reference

Inheritance diagram for cellZone:

Inheritance graph
[legend]
Collaboration diagram for cellZone:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 73 of file cellZone.H.


Public Member Functions

 TypeName ("cellZone")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, cellZone, dictionary,(const word &name, const dictionary &dict, const label index, const cellZoneMesh &zm),(name, dict, index, zm))
 cellZone (const word &name, const labelList &addr, const label index, const cellZoneMesh &zm)
 Construct from components.
 cellZone (const word &name, const dictionary &dict, const label index, const cellZoneMesh &zm)
 Construct from dictionary.
 cellZone (const cellZone &cz, const labelList &addr, const label index, const cellZoneMesh &zm)
 Construct given the original zone and resetting the.
virtual autoPtr< cellZone > clone (const cellZoneMesh &zm) const
 Construct and return a clone, resetting the zone mesh.
virtual autoPtr< cellZone > clone (const labelList &addr, const label index, const cellZoneMesh &zm) const
 Construct and return a clone, resetting the cell list.
virtual ~cellZone ()
 Destructor.
const word & name () const
 Return name.
label whichCell (const label globalCellID) const
 Map storing the local cell index for every global cell.
label index () const
 Return the index of this zone in zone list.
const cellZoneMesh & zoneMesh () const
 Return zoneMesh reference.
void clearAddressing ()
 Clear addressing.
bool checkDefinition (const bool report=false) const
 Check zone definition. Return true if in error.
virtual void movePoints (const pointField &)
 Correct patch after moving points.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.
void operator= (const cellZone &)
 Assign to zone clearing demand-driven data.
void operator= (const labelList &)
 Assign addressing clearing demand-driven data.

Static Public Member Functions

static autoPtr< cellZone > New (const word &name, const dictionary &dict, const label index, const cellZoneMesh &)
 Return a pointer to a new cell zone.

Friends

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

Constructor & Destructor Documentation

cellZone ( const word &  name,
const labelList &  addr,
const label  index,
const cellZoneMesh &  zm 
)

Construct from components.

cellZone ( const word &  name,
const dictionary &  dict,
const label  index,
const cellZoneMesh &  zm 
)

Construct from dictionary.

cellZone ( const cellZone &  cz,
const labelList &  addr,
const label  index,
const cellZoneMesh &  zm 
)

Construct given the original zone and resetting the.

cell list and zone mesh information

virtual ~cellZone (  )  [virtual]

Destructor.


Member Function Documentation

TypeName ( "cellZone"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
cellZone  ,
dictionary  ,
(const word &name, const dictionary &dict, const label index, const cellZoneMesh &zm)  ,
(name, dict, index, zm)   
)

virtual autoPtr<cellZone> clone ( const cellZoneMesh &  zm  )  const [inline, virtual]

Construct and return a clone, resetting the zone mesh.

Definition at line 162 of file cellZone.H.

virtual autoPtr<cellZone> clone ( const labelList &  addr,
const label  index,
const cellZoneMesh &  zm 
) const [inline, virtual]

Construct and return a clone, resetting the cell list.

and zone mesh

Definition at line 175 of file cellZone.H.

static autoPtr<cellZone> New ( const word &  name,
const dictionary &  dict,
const label  index,
const cellZoneMesh &   
) [static]

Return a pointer to a new cell zone.

created on freestore from dictionary

const word& name (  )  const [inline]

Return name.

Definition at line 211 of file cellZone.H.

label whichCell ( const label  globalCellID  )  const

Map storing the local cell index for every global cell.

index. Used to find out the index of cell in the zone from the known global cell index. If the cell is not in the zone, returns -1

label index (  )  const [inline]

Return the index of this zone in zone list.

Definition at line 225 of file cellZone.H.

const cellZoneMesh& zoneMesh (  )  const

Return zoneMesh reference.

void clearAddressing (  ) 

Clear addressing.

bool checkDefinition ( const bool  report = false  )  const

Check zone definition. Return true if in error.

virtual void movePoints ( const pointField &   )  [inline, virtual]

Correct patch after moving points.

Definition at line 240 of file cellZone.H.

virtual void write ( Ostream &   )  const [virtual]

Write.

virtual void writeDict ( Ostream &   )  const [virtual]

Write dictionary.

void operator= ( const cellZone &   ) 

Assign to zone clearing demand-driven data.

void operator= ( const labelList &   ) 

Assign addressing clearing demand-driven data.


Friends And Related Function Documentation

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


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