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

faceZone Class Reference

Inheritance diagram for faceZone:

Inheritance graph
[legend]
Collaboration diagram for faceZone:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 75 of file faceZone.H.


Public Member Functions

 TypeName ("faceZone")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, faceZone, dictionary,(const word &name, const dictionary &dict, const label index, const faceZoneMesh &zm),(name, dict, index, zm))
 faceZone (const word &name, const labelList &addr, const boolList &fm, const label index, const faceZoneMesh &zm)
 Construct from components.
 faceZone (const word &name, const dictionary &dict, const label index, const faceZoneMesh &zm)
 Construct from dictionary.
 faceZone (const faceZone &fz, const labelList &addr, const boolList &fm, const label index, const faceZoneMesh &zm)
 Construct given the original zone and resetting the.
virtual autoPtr< faceZone > clone (const faceZoneMesh &zm) const
 Construct and return a clone, resetting the zone mesh.
virtual autoPtr< faceZone > clone (const labelList &addr, const boolList &fm, const label index, const faceZoneMesh &zm) const
 Construct and return a clone, resetting the face list.
virtual ~faceZone ()
 Destructor.
const word & name () const
 Return name.
const boolList & flipMap () const
 Return face flip map.
label whichFace (const label globalFaceID) const
 Map storing the local face index for every global face index.
const primitiveFacePatch & operator() () const
 Return reference to primitive patch.
label index () const
 Return the index of this zone in zone list.
const faceZoneMesh & zoneMesh () const
 Return zoneMesh reference.
const labelList & masterCells () const
 Return labels of master cells (cells next to the master face.
const labelList & slaveCells () const
 Return labels of slave cells.
const labelList & meshEdges () const
 Return global edge index for local edges.
void clearAddressing ()
 Clear addressing.
void resetAddressing (const labelList &, const boolList &)
 Reset addressing and flip map (clearing demand-driven data).
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.
void updateMesh (const mapPolyMesh &mpm)
 Update for changes in topology.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.

Static Public Member Functions

static autoPtr< faceZone > New (const word &name, const dictionary &dict, const label index, const faceZoneMesh &zm)
 Return a pointer to a new face zone.

Friends

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

Constructor & Destructor Documentation

faceZone ( const word &  name,
const labelList &  addr,
const boolList &  fm,
const label  index,
const faceZoneMesh &  zm 
)

Construct from components.

faceZone ( const word &  name,
const dictionary &  dict,
const label  index,
const faceZoneMesh &  zm 
)

Construct from dictionary.

faceZone ( const faceZone &  fz,
const labelList &  addr,
const boolList &  fm,
const label  index,
const faceZoneMesh &  zm 
)

Construct given the original zone and resetting the.

face list and zone mesh information

virtual ~faceZone (  )  [virtual]

Destructor.


Member Function Documentation

TypeName ( "faceZone"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
faceZone  ,
dictionary  ,
(const word &name, const dictionary &dict, const label index, const faceZoneMesh &zm)  ,
(name, dict, index, zm)   
)

virtual autoPtr<faceZone> clone ( const faceZoneMesh &  zm  )  const [inline, virtual]

Construct and return a clone, resetting the zone mesh.

Definition at line 197 of file faceZone.H.

virtual autoPtr<faceZone> clone ( const labelList &  addr,
const boolList &  fm,
const label  index,
const faceZoneMesh &  zm 
) const [inline, virtual]

Construct and return a clone, resetting the face list.

and zone mesh

Definition at line 210 of file faceZone.H.

static autoPtr<faceZone> New ( const word &  name,
const dictionary &  dict,
const label  index,
const faceZoneMesh &  zm 
) [static]

Return a pointer to a new face zone.

created on freestore from dictionary

const word& name (  )  const [inline]

Return name.

Definition at line 247 of file faceZone.H.

const boolList& flipMap (  )  const [inline]

Return face flip map.

Definition at line 253 of file faceZone.H.

label whichFace ( const label  globalFaceID  )  const

Map storing the local face index for every global face index.

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

const primitiveFacePatch& operator() (  )  const

Return reference to primitive patch.

label index (  )  const [inline]

Return the index of this zone in zone list.

Definition at line 269 of file faceZone.H.

const faceZoneMesh& zoneMesh (  )  const

Return zoneMesh reference.

const labelList& masterCells (  )  const

Return labels of master cells (cells next to the master face.

zone in the prescribed direction)

const labelList& slaveCells (  )  const

Return labels of slave cells.

const labelList& meshEdges (  )  const

Return global edge index for local edges.

void clearAddressing (  ) 

Clear addressing.

void resetAddressing ( const labelList &  ,
const boolList &   
)

Reset addressing and flip map (clearing demand-driven data).

bool checkDefinition ( const bool  report = false  )  const

Check zone definition. Return true if in error.

virtual void movePoints ( const pointField &   )  [virtual]

Correct patch after moving points.

void updateMesh ( const mapPolyMesh &  mpm  ) 

Update for changes in topology.

virtual void write ( Ostream &   )  const [virtual]

Write.

virtual void writeDict ( Ostream &   )  const [virtual]

Write dictionary.


Friends And Related Function Documentation

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


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