OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

MeshWave< Type > Class Template Reference

FaceCellWave plus data. More...

Collaboration diagram for MeshWave< Type >:

List of all members.


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.
const List< Type > & allFaceInfo () const
 Get allFaceInfo.
const List< Type > & allCellInfo () const
 Get allCellInfo.
label iterate (const label maxIter)
 Iterate until no changes or maxIter reached. Returns number of.
label getUnsetCells () const
 Get number of unvisited cells, i.e. cells that were not (yet).
label getUnsetFaces () const
 Get number of unvisited faces.

Detailed Description

template<class Type>
class Foam::MeshWave< Type >

FaceCellWave plus data.

Source files

Definition at line 52 of file MeshWave.H.


Constructor & Destructor Documentation

MeshWave ( const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const label  maxIter 
) [inline]

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)

Definition at line 40 of file MeshWave.C.

MeshWave ( const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const List< Type > &  allCellInfo,
const label  maxIter 
) [inline]

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)

Definition at line 65 of file MeshWave.C.


Member Function Documentation

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

Get allFaceInfo.

Definition at line 111 of file MeshWave.H.

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

Get allCellInfo.

Definition at line 117 of file MeshWave.H.

label iterate ( const label  maxIter  )  [inline]

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

unset cells (see getUnsetCells)

Definition at line 127 of file MeshWave.H.

label getUnsetCells (  )  const [inline]

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

Definition at line 139 of file MeshWave.H.

label getUnsetFaces (  )  const [inline]

Get number of unvisited faces.

Definition at line 145 of file MeshWave.H.


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