OpenFOAM logo
Open Source CFD Toolkit

faceZone Class Reference

Inheritance diagram for faceZone:

Inheritance graph
[legend]
Collaboration diagram for faceZone:

Collaboration graph
[legend]
List of all members.

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< faceZoneclone (const faceZoneMesh &zm) const
 Construct and return a clone, resetting the zone mesh.
virtual autoPtr< faceZoneclone (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 wordname () const
 Return name.
const boolListflipMap () const
 Return face flip map.
label whichFace (const label globalFaceID) const
 Map storing the local face index for every global face index.
const primitiveFacePatchoperator() () const
 Return reference to primitive patch.
label index () const
 Return the index of this zone in zone list.
const faceZoneMeshzoneMesh () const
 Return zoneMesh reference.
const labelListmasterCells () const
 Return labels of master cells (cells next to the master face.
const labelListslaveCells () const
 Return labels of slave cells.
const labelListmeshEdges () 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).
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

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

Friends

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

void clearAddressing  ) 
 

Clear addressing.

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.

References Foam::faceZoneMesh, and Foam::label.

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.

References Foam::boolList, Foam::faceZoneMesh, Foam::label, and Foam::labelList.

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

const boolList& flipMap  )  const [inline]
 

Return face flip map.

Definition at line 253 of file faceZone.H.

label index  )  const [inline]
 

Return the index of this zone in zone list.

Definition at line 269 of file faceZone.H.

References Foam::boolList, Foam::labelList, and Foam::pointField.

const labelList& masterCells  )  const
 

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

zone in the prescribed direction)

const labelList& meshEdges  )  const
 

Return global edge index for local edges.

virtual void movePoints const pointField  )  [virtual]
 

Correct patch after moving points.

const word& name  )  const [inline]
 

Return name.

Definition at line 247 of file faceZone.H.

References Foam::label, and Foam::primitiveFacePatch.

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 primitiveFacePatch& operator()  )  const
 

Return reference to primitive patch.

void resetAddressing const labelList ,
const boolList
 

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

const labelList& slaveCells  )  const
 

Return labels of slave cells.

TypeName "faceZone"   ) 
 

Runtime type information.

void updateMesh const mapPolyMesh mpm  ) 
 

Update for changes in topology.

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

virtual void write Ostream  )  const [virtual]
 

Write.

virtual void writeDict Ostream  )  const [virtual]
 

Write dictionary.

const faceZoneMesh& zoneMesh  )  const
 

Return zoneMesh reference.


Friends And Related Function Documentation

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


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