OpenFOAM logo
Open Source CFD Toolkit

cellZone Class Reference

Inheritance diagram for cellZone:

Inheritance graph
[legend]
Collaboration diagram for cellZone:

Collaboration graph
[legend]
List of all members.

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< cellZoneclone (const cellZoneMesh &zm) const
 Construct and return a clone, resetting the zone mesh.
virtual autoPtr< cellZoneclone (const labelList &addr, const label index, const cellZoneMesh &zm) const
 Construct and return a clone, resetting the cell list.
virtual ~cellZone ()
 Destructor.
const wordname () 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 cellZoneMeshzoneMesh () const
 Return zoneMesh reference.
void clearAddressing ()
 Clear addressing.
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

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

Friends

Ostreamoperator<< (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

void clearAddressing  ) 
 

Clear addressing.

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.

References Foam::cellZoneMesh, and Foam::label.

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.

References Foam::cellZoneMesh, Foam::label, and Foam::labelList.

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

label index  )  const [inline]
 

Return the index of this zone in zone list.

Definition at line 225 of file cellZone.H.

virtual void movePoints const pointField  )  [inline, virtual]
 

Correct patch after moving points.

Definition at line 237 of file cellZone.H.

References Foam::labelList.

const word& name  )  const [inline]
 

Return name.

Definition at line 211 of file cellZone.H.

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

void operator= const labelList  ) 
 

Assign addressing clearing demand-driven data.

void operator= const cellZone  ) 
 

Assign to zone clearing demand-driven data.

TypeName "cellZone"   ) 
 

Runtime type information.

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

virtual void write Ostream  )  const [virtual]
 

Write.

virtual void writeDict Ostream  )  const [virtual]
 

Write dictionary.

const cellZoneMesh& zoneMesh  )  const
 

Return zoneMesh reference.


Friends And Related Function Documentation

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


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org