FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

MeshWave< Type > Class Template Reference

FaceCellWave plus data. More...

#include <OpenFOAM/MeshWave.H>


Detailed Description

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

FaceCellWave plus data.

Source files

Definition at line 57 of file MeshWave.H.

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.

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)

Definition at line 47 of file MeshWave.C.

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)

Definition at line 72 of file MeshWave.C.


Member Function Documentation

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

Get allFaceInfo.

Definition at line 112 of file MeshWave.H.

Referenced by patchDataWave< TransferType >::correct(), and wallLayerCells::wallLayerCells().

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

Get allCellInfo.

Definition at line 118 of file MeshWave.H.

Referenced by wallLayerCells::wallLayerCells().

label iterate ( const label   maxIter  ) [inline]

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

unset cells (see getUnsetCells)

Definition at line 126 of file MeshWave.H.

Referenced by wallLayerCells::wallLayerCells().

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 136 of file MeshWave.H.

label getUnsetFaces (  ) const [inline]

Get number of unvisited faces.

Definition at line 142 of file MeshWave.H.


The documentation for this class was generated from the following files: