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

MeshWave Class Template Reference

Collaboration diagram for MeshWave:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 65 of file MeshWave.H.


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

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)


Member Function Documentation

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

Get allFaceInfo.

Definition at line 124 of file MeshWave.H.

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

Get allCellInfo.

Definition at line 130 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 140 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 152 of file MeshWave.H.

label getUnsetFaces (  )  const [inline]

Definition at line 157 of file MeshWave.H.


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