MeshWave< Type, TrackingData > Class Template Reference

FaceCellWave plus data. More...

Inheritance diagram for MeshWave< Type, TrackingData >:
Collaboration diagram for MeshWave< Type, TrackingData >:

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...
 
 MeshWave (const MeshWave &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const MeshWave &)=delete
 Disallow default bitwise assignment. 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() [1/3]

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() [2/3]

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.

◆ MeshWave() [3/3]

MeshWave ( const MeshWave< Type, TrackingData > &  )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ allFaceInfo()

const List<Type>& allFaceInfo ( ) const
inline

Get allFaceInfo.

Definition at line 116 of file MeshWave.H.

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

Here is the caller graph for this function:

◆ allCellInfo()

const List<Type>& allCellInfo ( ) const
inline

Get allCellInfo.

Definition at line 122 of file MeshWave.H.

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

Here is the caller graph for this function:

◆ data()

const TrackingData& data ( ) const
inline

Additional data to be passed into container.

Definition at line 128 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:

◆ iterate()

label iterate ( const label  maxIter)
inline

Iterate until no changes or maxIter reached. Returns actual.

number of iterations.

Definition at line 135 of file MeshWave.H.

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

Here is the caller graph for this function:

◆ getUnsetCells()

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

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

Here is the caller graph for this function:

◆ getUnsetFaces()

label getUnsetFaces ( ) const
inline

Get number of unvisited faces.

Definition at line 151 of file MeshWave.H.

References FaceCellWave< Type, TrackingData >::getUnsetFaces(), and MeshWave< Type, TrackingData >::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const MeshWave< Type, TrackingData > &  )
delete

Disallow default bitwise assignment.

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

Here is the caller graph for this function:

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