OpenFOAM logo
Open Source CFD Toolkit

meshWave Class Template Reference

Collaboration diagram for meshWave:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::meshWave< Type >


Public Member Functions

 meshWave (const polyMesh &mesh, const labelList &initialChangedFaces, const List< Type > &changedFacesInfo, const label maxIter)
 Construct from mesh and list of changed faces with the Type.
 meshWave (const polyMesh &mesh, const labelList &initialChangedFaces, const List< Type > &changedFacesInfo, const List< Type > &allCellInfo, const label maxIter)
 Construct from mesh, list of changed faces with the Type.
 ~meshWave ()
const List< Type > & allFaceInfo () const
 Get allFaceInfo.
const List< Type > & allCellInfo () const
 Get allCellInfo.
label getUnsetCells () const
 Get number of unvisited cells, i.e. cells that were not (yet).
label getUnsetFaces () const
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.

Constructor & Destructor Documentation

meshWave const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
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)

meshWave const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const List< Type > &  allCellInfo,
const label  maxIter
 

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

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

~meshWave  ) 
 


Member Function Documentation

const List<Type>& allCellInfo  )  const [inline]
 

Get allCellInfo.

Definition at line 346 of file meshWave.H.

References Foam::label.

const List<Type>& allFaceInfo  )  const [inline]
 

Get allFaceInfo.

Definition at line 340 of file meshWave.H.

References Foam::label.

label cellToFace  ) 
 

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

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

label faceToCell  ) 
 

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

(over all processors) changed.

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
 

label iterate const label  maxIter  ) 
 

Iterate until no changes or maxIter reached.


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