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=FaceCellWaveBase::dummyTrackData_)
 Construct from mesh and list of changed faces with the Type for these faces. More...
 
 MeshWave (const polyMesh &mesh, const labelList &initialChangedFaces, const List< Type > &changedFacesInfo, const List< Type > &allCellInfo, const label maxIter, TrackingData &td=FaceCellWaveBase::dummyTrackData_)
 Construct from mesh, list of changed faces with the Type for these faces and initial field. More...
 
const List< Type > & allFaceInfo () const noexcept
 Get allFaceInfo. More...
 
const List< Type > & allCellInfo () const noexcept
 Get allCellInfo. More...
 
const TrackingData & data () const noexcept
 Additional data to be passed into container. More...
 
label iterate (const label maxIter)
 Iterate until no changes or maxIter reached. More...
 
label nChangedCells () const noexcept
 Current number of changed cells. More...
 
label nChangedFaces () const noexcept
 Current number of changed faces. More...
 
label nUnvisitedCells () const noexcept
 Number of unvisited cells. More...
 
label nUnvisitedFaces () const noexcept
 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 55 of file MeshWave.H.

Constructor & Destructor Documentation

◆ MeshWave() [1/2]

MeshWave ( const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const label  maxIter,
TrackingData &  td = FaceCellWaveBase::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 30 of file MeshWave.C.

◆ MeshWave() [2/2]

MeshWave ( const polyMesh mesh,
const labelList initialChangedFaces,
const List< Type > &  changedFacesInfo,
const List< Type > &  allCellInfo,
const label  maxIter,
TrackingData &  td = FaceCellWaveBase::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 57 of file MeshWave.C.

Member Function Documentation

◆ allFaceInfo()

const List<Type>& allFaceInfo ( ) const
inlinenoexcept

Get allFaceInfo.

Definition at line 133 of file MeshWave.H.

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

Here is the caller graph for this function:

◆ allCellInfo()

const List<Type>& allCellInfo ( ) const
inlinenoexcept

Get allCellInfo.

Definition at line 141 of file MeshWave.H.

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

Here is the caller graph for this function:

◆ data()

const TrackingData& data ( ) const
inlinenoexcept

Additional data to be passed into container.

Definition at line 149 of file MeshWave.H.

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

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

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

Referenced by wallLayerCells::wallLayerCells().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nChangedCells()

label nChangedCells ( ) const
inlinenoexcept

Current number of changed cells.

Definition at line 167 of file MeshWave.H.

References FaceCellWaveBase::nChangedCells().

Here is the call graph for this function:

◆ nChangedFaces()

label nChangedFaces ( ) const
inlinenoexcept

Current number of changed faces.

Definition at line 172 of file MeshWave.H.

References FaceCellWaveBase::nChangedFaces().

Here is the call graph for this function:

◆ nUnvisitedCells()

label nUnvisitedCells ( ) const
inlinenoexcept

Number of unvisited cells.

Definition at line 177 of file MeshWave.H.

References FaceCellWaveBase::nUnvisitedCells().

Here is the call graph for this function:

◆ nUnvisitedFaces()

label nUnvisitedFaces ( ) const
inlinenoexcept

Number of unvisited faces.

Definition at line 185 of file MeshWave.H.

References FaceCellWaveBase::nUnvisitedFaces().

Here is the call graph for this function:

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