Class to be used with FaceCellWave which enumerates layers of cells. More...
Public Member Functions | |
layerInfo () | |
Construct null. More... | |
layerInfo (const label faceLayer, const label direction) | |
Construct given the face layer index and direction. More... | |
label | faceLayer () const |
Return the face layer index. More... | |
label | cellLayer () const |
Return the cell layer index. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether the layerInfo has been changed at all or still. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const layerInfo &, const scalar, TrackingData &td) const |
Check for identical geometrical data. Used for checking. More... | |
template<class TrackingData > | |
void | transform (const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td) |
Transform across an interface. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &, const label thisCelli, const label nbrFacei, const layerInfo &nbrInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const label nbrCelli, const layerInfo &nbrInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const layerInfo &nbrInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const layerInfo &, TrackingData &td) const |
Test equality. More... | |
bool | operator== (const layerInfo &) const |
bool | operator!= (const layerInfo &) const |
Friends | |
Ostream & | operator<< (Ostream &, const layerInfo &) |
Istream & | operator>> (Istream &, layerInfo &) |
Class to be used with FaceCellWave which enumerates layers of cells.
Definition at line 59 of file layerInfo.H.
|
inline |
Construct null.
Definition at line 43 of file layerInfoI.H.
Construct given the face layer index and direction.
Definition at line 51 of file layerInfoI.H.
|
inline |
Return the face layer index.
Definition at line 61 of file layerInfoI.H.
References Foam::exit(), and Foam::FatalError.
|
inline |
Return the cell layer index.
Definition at line 74 of file layerInfoI.H.
References Foam::exit(), and Foam::FatalError.
|
inline |
Check whether the layerInfo has been changed at all or still.
contains original (invalid) value.
Definition at line 88 of file layerInfoI.H.
References Foam::labelMax.
Referenced by mappedExtrudedPatchBase::patchFaceAreas().
|
inline |
Check for identical geometrical data. Used for checking.
consistency across cyclics.
Definition at line 95 of file layerInfoI.H.
|
inline |
Transform across an interface.
Definition at line 108 of file layerInfoI.H.
|
inline |
Influence of neighbouring face.
Definition at line 119 of file layerInfoI.H.
References polyMesh::faceOwner(), Foam::labelMax, and Foam::blendedInterfacialModel::valid().
Referenced by LayerInfoData< Type >::updateCell().
|
inline |
Influence of neighbouring cell.
Definition at line 149 of file layerInfoI.H.
References Foam::constant::universal::c, primitiveMesh::cells(), polyMesh::faceOwner(), polyMesh::faces(), Foam::labelMax, and Foam::blendedInterfacialModel::valid().
Referenced by LayerInfoData< Type >::updateFace().
|
inline |
Influence of different value on same face.
Definition at line 184 of file layerInfoI.H.
References Foam::labelMax, and Foam::blendedInterfacialModel::valid().
|
inline |
Test equality.
Definition at line 206 of file layerInfoI.H.
References Foam::operator==().
|
inline |
Definition at line 218 of file layerInfoI.H.
Referenced by LayerInfoData< Type >::operator==().
|
inline |
Definition at line 224 of file layerInfoI.H.