LayerInfoData< Type > Class Template Reference

Class to be used with FaceCellWave which enumerates layers of cells and transports data through those layers. More...

Inheritance diagram for LayerInfoData< Type >:
Collaboration diagram for LayerInfoData< Type >:

Public Member Functions

 LayerInfoData ()
 Construct null. More...
 
 LayerInfoData (const label faceLayer, const label direction, const Type &data)
 Construct given the face layer index and direction. More...
 
const Type & data () const
 Return the data. 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 LayerInfoData< Type > &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 LayerInfoData< Type > &nbrInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const LayerInfoData< Type > &nbrInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const LayerInfoData< Type > &, TrackingData &td) const
 Test equality. More...
 
bool operator== (const LayerInfoData< Type > &) const
 
bool operator!= (const LayerInfoData< Type > &) const
 
- Public Member Functions inherited from layerInfo
 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

Ostreamoperator (Ostream &, const LayerInfoData< Type > &)
 
Istreamoperator>> (Istream &, LayerInfoData< Type > &)
 

Detailed Description

template<class Type>
class Foam::LayerInfoData< Type >

Class to be used with FaceCellWave which enumerates layers of cells and transports data through those layers.

Source files

Definition at line 63 of file LayerInfoData.H.

Constructor & Destructor Documentation

◆ LayerInfoData() [1/2]

LayerInfoData
inline

Construct null.

Definition at line 32 of file LayerInfoDataI.H.

◆ LayerInfoData() [2/2]

LayerInfoData ( const label  faceLayer,
const label  direction,
const Type &  data 
)
inline

Construct given the face layer index and direction.

Definition at line 40 of file LayerInfoDataI.H.

Member Function Documentation

◆ data()

const Type & data
inline

Return the data.

Definition at line 55 of file LayerInfoDataI.H.

Referenced by mappedExtrudedPatchBase::patchFaceAreas().

Here is the caller graph for this function:

◆ transform()

void transform ( const polyPatch patch,
const label  patchFacei,
const transformer transform,
TrackingData &  td 
)
inline

Transform across an interface.

Definition at line 63 of file LayerInfoDataI.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::transform().

Here is the call graph for this function:

◆ updateCell()

bool updateCell ( const polyMesh mesh,
const label  thisCelli,
const label  nbrFacei,
const LayerInfoData< Type > &  nbrInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Definition at line 82 of file LayerInfoDataI.H.

References layerInfo::updateCell().

Here is the call graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const label  nbrCelli,
const LayerInfoData< Type > &  nbrInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Definition at line 106 of file LayerInfoDataI.H.

References layerInfo::updateFace().

Here is the call graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const LayerInfoData< Type > &  nbrInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Definition at line 130 of file LayerInfoDataI.H.

References layerInfo::updateFace().

Here is the call graph for this function:

◆ equal()

bool equal ( const LayerInfoData< Type > &  rhs,
TrackingData &  td 
) const
inline

Test equality.

Definition at line 153 of file LayerInfoDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const LayerInfoData< Type > &  rhs) const
inline

Definition at line 166 of file LayerInfoDataI.H.

References layerInfo::operator==().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const LayerInfoData< Type > &  rhs) const
inline

Definition at line 176 of file LayerInfoDataI.H.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const LayerInfoData< Type > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
LayerInfoData< Type > &   
)
friend

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