Public Member Functions | List of all members
MeshWave< Type, TrackingData > Class Template Reference

FaceCellWave plus data. More...

Inheritance diagram for MeshWave< Type, TrackingData >:
Inheritance graph
[legend]
Collaboration diagram for MeshWave< Type, TrackingData >:
Collaboration graph
[legend]

Public Member Functions

 MeshWave (const polyMesh &mesh, const labelList &initialChangedFaces, const List< Type > &changedFacesInfo, const label maxIter, TrackingData &td=dummyTrackData_)
 Construct from mesh and list of changed faces with the Type. More...
 
 MeshWave (const polyMesh &mesh, const labelList &initialChangedFaces, const List< Type > &changedFacesInfo, const List< Type > &allCellInfo, const label maxIter, TrackingData &td=dummyTrackData_)
 Construct from mesh, list of changed faces with the Type. More...
 
const List< Type > & allFaceInfo () const
 Get allFaceInfo. More...
 
const List< Type > & allCellInfo () const
 Get allCellInfo. More...
 
const TrackingData & data () const
 Additional data to be passed into container. More...
 
label iterate (const label maxIter)
 Iterate until no changes or maxIter reached. Returns actual. More...
 
label getUnsetCells () const
 Get number of unvisited cells, i.e. cells that were not (yet) More...
 
label getUnsetFaces () const
 Get number of unvisited faces. More...
 

Detailed Description

template<class Type, class TrackingData = int>
class Foam::MeshWave< Type, TrackingData >

FaceCellWave plus data.

Source files

Definition at line 56 of file MeshWave.H.

Constructor & Destructor Documentation

MeshWave ( const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const label  maxIter,
TrackingData &  td = dummyTrackData_ 
)

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 42 of file MeshWave.C.

MeshWave ( const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const List< Type > &  allCellInfo,
const label  maxIter,
TrackingData &  td = dummyTrackData_ 
)

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 69 of file MeshWave.C.

Member Function Documentation

const List<Type>& allFaceInfo ( ) const
inline

Get allFaceInfo.

Definition at line 119 of file MeshWave.H.

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

Here is the caller graph for this function:

const List<Type>& allCellInfo ( ) const
inline

Get allCellInfo.

Definition at line 125 of file MeshWave.H.

Referenced by inverseFaceDistanceDiffusivity::correct(), and wallLayerCells::wallLayerCells().

Here is the caller graph for this function:

const TrackingData& data ( ) const
inline

Additional data to be passed into container.

Definition at line 131 of file MeshWave.H.

References FaceCellWave< Type, TrackingData >::data(), MeshWave< Type, TrackingData >::getUnsetCells(), FaceCellWave< Type, TrackingData >::getUnsetCells(), MeshWave< Type, TrackingData >::iterate(), and FaceCellWave< Type, TrackingData >::iterate().

Referenced by wallLayerCells::wallLayerCells().

Here is the call graph for this function:

Here is the caller graph for this function:

label iterate ( const label  maxIter)
inline

Iterate until no changes or maxIter reached. Returns actual.

number of iterations.

Definition at line 138 of file MeshWave.H.

Referenced by MeshWave< Type, TrackingData >::data(), and wallLayerCells::wallLayerCells().

Here is the caller graph for this function:

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

Referenced by MeshWave< Type, TrackingData >::data().

Here is the caller graph for this function:

label getUnsetFaces ( ) const
inline

Get number of unvisited faces.

Definition at line 154 of file MeshWave.H.

References FaceCellWave< Type, TrackingData >::getUnsetFaces().

Here is the call graph for this function:


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