Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
edgeTopoDistanceData Class Reference

For use with PatchEdgeFaceWave. Determines topological distance to starting edges. Templated on passive transported data. More...

Public Types

typedef Type dataType
 

Public Member Functions

 edgeTopoDistanceData ()
 
 edgeTopoDistanceData (const label distance, const Type &data)
 
label distance () const
 
const Type & data () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
void transform (const polyMesh &mesh, const PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const PrimitivePatchType &patch, const label edgeI, const label facei, const edgeTopoDistanceData< Type, PrimitivePatchType > &faceInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const PrimitivePatchType &patch, const edgeTopoDistanceData< Type, PrimitivePatchType > &edgeInfo, const bool sameOrientation, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const PrimitivePatchType &patch, const label facei, const label edgeI, const edgeTopoDistanceData< Type, PrimitivePatchType > &edgeInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const edgeTopoDistanceData< Type, PrimitivePatchType > &, TrackingData &) const
 
bool operator== (const edgeTopoDistanceData< Type, PrimitivePatchType > &) const
 
bool operator!= (const edgeTopoDistanceData< Type, PrimitivePatchType > &) const
 

Protected Attributes

label distance_
 
Type data_
 

Friends

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

Detailed Description

For use with PatchEdgeFaceWave. Determines topological distance to starting edges. Templated on passive transported data.

Source files

Definition at line 51 of file edgeTopoDistanceData.H.

Member Typedef Documentation

◆ dataType

typedef Type dataType

Definition at line 87 of file edgeTopoDistanceData.H.

Constructor & Destructor Documentation

◆ edgeTopoDistanceData() [1/2]

Definition at line 29 of file edgeTopoDistanceDataI.H.

◆ edgeTopoDistanceData() [2/2]

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

Definition at line 39 of file edgeTopoDistanceDataI.H.

Member Function Documentation

◆ distance()

label distance ( ) const
inline

Definition at line 107 of file edgeTopoDistanceData.H.

References edgeTopoDistanceData::distance_.

Referenced by edgeTopoDistanceData::operator==().

Here is the caller graph for this function:

◆ data()

const Type& data ( ) const
inline

Definition at line 112 of file edgeTopoDistanceData.H.

References edgeTopoDistanceData::data_.

Referenced by edgeTopoDistanceData::operator==().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 54 of file edgeTopoDistanceDataI.H.

◆ transform()

void transform ( const polyMesh mesh,
const PrimitivePatchType &  patch,
const tensor rotTensor,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 65 of file edgeTopoDistanceDataI.H.

◆ updateEdge() [1/2]

bool updateEdge ( const polyMesh mesh,
const PrimitivePatchType &  patch,
const label  edgeI,
const label  facei,
const edgeTopoDistanceData< Type, PrimitivePatchType > &  faceInfo,
const scalar  tol,
TrackingData &  td 
)
inline

◆ updateEdge() [2/2]

bool updateEdge ( const polyMesh mesh,
const PrimitivePatchType &  patch,
const edgeTopoDistanceData< Type, PrimitivePatchType > &  edgeInfo,
const bool  sameOrientation,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 103 of file edgeTopoDistanceDataI.H.

◆ updateFace()

bool updateFace ( const polyMesh mesh,
const PrimitivePatchType &  patch,
const label  facei,
const label  edgeI,
const edgeTopoDistanceData< Type, PrimitivePatchType > &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 126 of file edgeTopoDistanceDataI.H.

◆ equal()

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

Definition at line 150 of file edgeTopoDistanceDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const edgeTopoDistanceData< Type, PrimitivePatchType > &  rhs) const
inline

Definition at line 163 of file edgeTopoDistanceDataI.H.

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

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const edgeTopoDistanceData< Type, PrimitivePatchType > &  rhs) const
inline

Definition at line 173 of file edgeTopoDistanceDataI.H.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const edgeTopoDistanceData< Type, PrimitivePatchType > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
edgeTopoDistanceData< Type, PrimitivePatchType > &   
)
friend

Member Data Documentation

◆ distance_

label distance_
protected

◆ data_

Type data_
protected

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