FaceCellWave plus data. More...
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... | |
Private Member Functions | |
MeshWave (const MeshWave &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const MeshWave &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
List< Type > | allFaceInfo_ |
Wall information for all faces. More... | |
List< Type > | allCellInfo_ |
Wall information for all cells. More... | |
FaceCellWave< Type, TrackingData > | calc_ |
Wave calculation engine. More... | |
Static Private Attributes | |
static int | dummyTrackData_ = 12345 |
Used as default trackdata value to satisfy default template. More... | |
FaceCellWave plus data.
Definition at line 56 of file MeshWave.H.
Disallow default bitwise copy construct.
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.
|
private |
Disallow default bitwise assignment.
|
inline |
Get allFaceInfo.
Definition at line 119 of file MeshWave.H.
References MeshWave< Type, TrackingData >::allFaceInfo_.
Referenced by inverseFaceDistanceDiffusivity::correct(), patchDataWave< TransferType >::correct(), patchWave::getValues(), patchDataWave< TransferType >::getValues(), and wallLayerCells::wallLayerCells().
|
inline |
Get allCellInfo.
Definition at line 125 of file MeshWave.H.
References MeshWave< Type, TrackingData >::allCellInfo_.
Referenced by inverseFaceDistanceDiffusivity::correct(), patchWave::getValues(), patchDataWave< TransferType >::getValues(), cellClassification::markCells(), directions::propagateDirection(), and wallLayerCells::wallLayerCells().
|
inline |
Additional data to be passed into container.
Definition at line 131 of file MeshWave.H.
References MeshWave< Type, TrackingData >::calc_.
Referenced by patchWave::getValues(), patchDataWave< TransferType >::getValues(), and wallLayerCells::wallLayerCells().
Iterate until no changes or maxIter reached. Returns actual.
number of iterations.
Definition at line 138 of file MeshWave.H.
Referenced by wallLayerCells::wallLayerCells().
|
inline |
Get number of unvisited cells, i.e. cells that were not (yet)
reached from walking across mesh. This can happen from
Definition at line 148 of file MeshWave.H.
|
inline |
Get number of unvisited faces.
Definition at line 154 of file MeshWave.H.
References MeshWave< Type, TrackingData >::calc_.
|
private |
Wall information for all faces.
Definition at line 63 of file MeshWave.H.
Referenced by MeshWave< Type, TrackingData >::allFaceInfo().
|
private |
Wall information for all cells.
Definition at line 66 of file MeshWave.H.
Referenced by MeshWave< Type, TrackingData >::allCellInfo().
|
private |
Wave calculation engine.
Definition at line 69 of file MeshWave.H.
Referenced by MeshWave< Type, TrackingData >::data(), and MeshWave< Type, TrackingData >::getUnsetFaces().
|
staticprivate |
Used as default trackdata value to satisfy default template.
argument.
Definition at line 83 of file MeshWave.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.