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

FaceCellWave Class Template Reference

Collaboration diagram for FaceCellWave:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type>
class Foam::FaceCellWave< Type >

Definition at line 83 of file FaceCellWave.H.


Public Member Functions

 FaceCellWave (const polyMesh &, UList< Type > &allFaceInfo, UList< Type > &allCellInfo)
 FaceCellWave (const polyMesh &, const labelList &initialChangedFaces, const List< Type > &changedFacesInfo, UList< Type > &allFaceInfo, UList< Type > &allCellInfo, const label maxIter)
 Construct from mesh and list of changed faces with the Type.
UList< Type > & allFaceInfo ()
 Access allFaceInfo.
UList< Type > & allCellInfo ()
 Access allCellInfo.
const polyMesh & mesh () const
 Access mesh.
label getUnsetCells () const
 Get number of unvisited cells, i.e. cells that were not (yet).
label getUnsetFaces () const
 Get number of unvisited faces.
void setFaceInfo (const labelList &changedFaces, const List< Type > &changedFacesInfo)
 Set initial changed faces.
label faceToCell ()
 Propagate from face to cell. Returns total number of cells.
label cellToFace ()
 Propagate from cell to face. Returns total number of faces.
label iterate (const label maxIter)
 Iterate until no changes or maxIter reached. Returns number of.

Static Public Member Functions

static scalar propagationTol ()
 Access to tolerance.
static void setPropagationTol (const scalar tol)
 Change tolerance.

Constructor & Destructor Documentation

FaceCellWave ( const polyMesh &  ,
UList< Type > &  allFaceInfo,
UList< Type > &  allCellInfo 
)

FaceCellWave ( const polyMesh &  ,
const labelList &  initialChangedFaces,
const List< Type > &  changedFacesInfo,
UList< Type > &  allFaceInfo,
UList< Type > &  allCellInfo,
const label  maxIter 
)

Construct from mesh and list of changed faces with the Type.

for these faces. Iterates until nothing changes or maxIter reached. (maxIter can be 0)


Member Function Documentation

static scalar propagationTol (  )  [inline, static]

Access to tolerance.

Definition at line 295 of file FaceCellWave.H.

static void setPropagationTol ( const scalar  tol  )  [inline, static]

Change tolerance.

Definition at line 301 of file FaceCellWave.H.

UList<Type>& allFaceInfo (  )  [inline]

Access allFaceInfo.

Definition at line 339 of file FaceCellWave.H.

UList<Type>& allCellInfo (  )  [inline]

Access allCellInfo.

Definition at line 345 of file FaceCellWave.H.

const polyMesh& mesh (  )  const [inline]

Access mesh.

Definition at line 351 of file FaceCellWave.H.

label getUnsetCells (  )  const

Get number of unvisited cells, i.e. cells that were not (yet).

reached from walking across mesh. This can happen from

  • not enough iterations done
  • a disconnected mesh
  • a mesh without walls in it

label getUnsetFaces (  )  const

Get number of unvisited faces.

void setFaceInfo ( const labelList &  changedFaces,
const List< Type > &  changedFacesInfo 
)

Set initial changed faces.

label faceToCell (  ) 

Propagate from face to cell. Returns total number of cells.

(over all processors) changed.

label cellToFace (  ) 

Propagate from cell to face. Returns total number of faces.

(over all processors) changed. (Faces on processorpatches are counted double)

label iterate ( const label  maxIter  ) 

Iterate until no changes or maxIter reached. Returns number of.

unset cells (see getUnsetCells)


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd