Public Member Functions | Friends | List of all members
topoDistanceData Class Reference

For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive transported data. More...

Public Member Functions

 topoDistanceData ()
 
 topoDistanceData (const label distance, const Type &data)
 
label distance () const
 
const Type & data () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const topoDistanceData< Type > &, const scalar, TrackingData &td) const
 
template<class TrackingData >
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void transform (const polyMesh &, const tensor &, TrackingData &td)
 
template<class TrackingData >
bool updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const topoDistanceData< Type > &, TrackingData &td) const
 
bool operator== (const topoDistanceData< Type > &) const
 
bool operator!= (const topoDistanceData< Type > &) const
 

Friends

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

Detailed Description

For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive transported data.

Source files

Definition at line 49 of file topoDistanceData.H.

Constructor & Destructor Documentation

◆ topoDistanceData() [1/2]

topoDistanceData ( )
inline

Definition at line 27 of file topoDistanceDataI.H.

◆ topoDistanceData() [2/2]

topoDistanceData ( const label  distance,
const Type &  data 
)
inline

Definition at line 36 of file topoDistanceDataI.H.

Member Function Documentation

◆ distance()

label distance ( ) const
inline

Definition at line 92 of file topoDistanceData.H.

Referenced by structuredRenumber::layerLess::operator()(), and topoDistanceData::operator==().

Here is the caller graph for this function:

◆ data()

const Type& data ( ) const
inline

Definition at line 97 of file topoDistanceData.H.

Referenced by structuredRenumber::layerLess::operator()(), and topoDistanceData::operator==().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 50 of file topoDistanceDataI.H.

Referenced by structuredRenumber::layerLess::operator()().

Here is the caller graph for this function:

◆ sameGeometry()

bool sameGeometry ( const polyMesh ,
const topoDistanceData< Type > &  ,
const  scalar,
TrackingData &  td 
) const
inline

Definition at line 60 of file topoDistanceDataI.H.

◆ leaveDomain()

void leaveDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFacei,
const point faceCentre,
TrackingData &  td 
)
inline

Definition at line 75 of file topoDistanceDataI.H.

◆ enterDomain()

void enterDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFacei,
const point faceCentre,
TrackingData &  td 
)
inline

Definition at line 101 of file topoDistanceDataI.H.

◆ transform()

void transform ( const polyMesh ,
const tensor rotTensor,
TrackingData &  td 
)
inline

Definition at line 89 of file topoDistanceDataI.H.

◆ updateCell()

bool updateCell ( const polyMesh ,
const label  thisCelli,
const label  neighbourFacei,
const topoDistanceData< Type > &  neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 115 of file topoDistanceDataI.H.

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const label  neighbourCelli,
const topoDistanceData< Type > &  neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 138 of file topoDistanceDataI.H.

◆ updateFace() [2/2]

bool updateFace ( const polyMesh ,
const label  thisFacei,
const topoDistanceData< Type > &  neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 164 of file topoDistanceDataI.H.

◆ equal()

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

Definition at line 186 of file topoDistanceDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

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

Definition at line 199 of file topoDistanceDataI.H.

References topoDistanceData::data(), Foam::distance(), and topoDistanceData::distance().

Here is the call graph for this function:

◆ operator!=()

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

Definition at line 209 of file topoDistanceDataI.H.

Friends And Related Function Documentation

◆ operator

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

◆ operator>>

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

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