topoDistanceData Class Reference

For use with FaceCellWave. Determines topological distance to starting faces. More...

Public Member Functions

 topoDistanceData ()
 Construct null. More...
 
 topoDistanceData (const label data, const label distance)
 Construct from count. More...
 
label data () const
 
label distance () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const topoDistanceData &, const scalar, TrackingData &td) const
 Check for identical geometrical data. Used for cyclics 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 neighbourFacei, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const topoDistanceData &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const topoDistanceData &) const
 
bool operator!= (const topoDistanceData &) const
 

Friends

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

Detailed Description

For use with FaceCellWave. Determines topological distance to starting faces.

Source files

Definition at line 64 of file topoDistanceData.H.

Constructor & Destructor Documentation

◆ topoDistanceData() [1/2]

topoDistanceData ( )
inline

Construct null.

Definition at line 34 of file topoDistanceDataI.H.

◆ topoDistanceData() [2/2]

topoDistanceData ( const label  data,
const label  distance 
)
inline

Construct from count.

Definition at line 43 of file topoDistanceDataI.H.

Member Function Documentation

◆ data()

label data ( ) const
inline

Definition at line 95 of file topoDistanceData.H.

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

Here is the caller graph for this function:

◆ distance()

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 56 of file topoDistanceDataI.H.

References topoDistanceData::sameGeometry().

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

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

◆ sameGeometry()

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 65 of file topoDistanceDataI.H.

References topoDistanceData::transform().

Referenced by topoDistanceData::distance(), and topoDistanceData::valid().

Here is the call graph for this function:
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 79 of file topoDistanceDataI.H.

References topoDistanceData::updateCell().

Referenced by topoDistanceData::distance(), and topoDistanceData::sameGeometry().

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

◆ updateCell()

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

Influence of neighbouring face.

Definition at line 91 of file topoDistanceDataI.H.

References topoDistanceData::updateFace().

Referenced by topoDistanceData::distance(), and topoDistanceData::transform().

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

◆ updateFace() [1/2]

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

Influence of neighbouring cell.

Definition at line 115 of file topoDistanceDataI.H.

Referenced by topoDistanceData::distance(), and topoDistanceData::updateCell().

Here is the caller graph for this function:

◆ updateFace() [2/2]

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

Influence of different value on same face.

Definition at line 142 of file topoDistanceDataI.H.

References topoDistanceData::equal().

Here is the call graph for this function:

◆ equal()

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

Same (like operator==)

Definition at line 165 of file topoDistanceDataI.H.

References topoDistanceData::operator==().

Referenced by topoDistanceData::distance(), and topoDistanceData::updateFace().

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

◆ operator==()

bool operator== ( const topoDistanceData rhs) const
inline

Definition at line 177 of file topoDistanceDataI.H.

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

Referenced by topoDistanceData::distance(), and topoDistanceData::equal().

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

◆ operator!=()

bool operator!= ( const topoDistanceData rhs) const
inline

Definition at line 186 of file topoDistanceDataI.H.

Referenced by topoDistanceData::distance().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
topoDistanceData  
)
friend

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