cellInfo Class Reference

Holds information regarding type of cell. Used in inside/outside determination in cellClassification. More...

Public Member Functions

 cellInfo ()
 Construct null. More...
 
 cellInfo (const label)
 Construct from cType. More...
 
label type () 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 cellInfo &, 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 cellInfo &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 cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const cellInfo &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const cellInfo &) const
 
bool operator!= (const cellInfo &) const
 

Friends

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

Detailed Description

Holds information regarding type of cell. Used in inside/outside determination in cellClassification.

Source files

Definition at line 66 of file cellInfo.H.

Constructor & Destructor Documentation

◆ cellInfo() [1/2]

cellInfo ( )
inline

Construct null.

Definition at line 95 of file cellInfoI.H.

◆ cellInfo() [2/2]

cellInfo ( const label  type)
inline

Construct from cType.

Definition at line 101 of file cellInfoI.H.

Member Function Documentation

◆ type()

label type ( ) const
inline

Definition at line 103 of file cellInfo.H.

References cellInfo::equal(), cellInfo::operator!=(), cellInfo::operator<<, cellInfo::operator==(), cellInfo::operator>>, cellInfo::sameGeometry(), cellInfo::transform(), cellInfo::updateCell(), cellInfo::updateFace(), and cellInfo::valid().

Referenced by cellInfo::operator==().

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

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 110 of file cellInfoI.H.

References cellClassification::NOTSET, and cellInfo::sameGeometry().

Referenced by cellInfo::type().

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

◆ sameGeometry()

bool sameGeometry ( const polyMesh ,
const cellInfo w2,
const scalar  tol,
TrackingData &  td 
) const
inline

Check for identical geometrical data. Used for cyclics checking.

Definition at line 118 of file cellInfoI.H.

References cellInfo::transform().

Referenced by cellInfo::type(), and cellInfo::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 132 of file cellInfoI.H.

References cellInfo::updateCell().

Referenced by cellInfo::sameGeometry(), and cellInfo::type().

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 cellInfo neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Definition at line 143 of file cellInfoI.H.

References cellInfo::updateFace().

Referenced by cellInfo::transform(), and cellInfo::type().

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

◆ updateFace() [1/2]

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

Influence of neighbouring cell.

Definition at line 166 of file cellInfoI.H.

Referenced by cellInfo::type(), and cellInfo::updateCell().

Here is the caller graph for this function:

◆ updateFace() [2/2]

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

Influence of different value on same face.

Definition at line 189 of file cellInfoI.H.

References cellInfo::equal().

Here is the call graph for this function:

◆ equal()

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

Same (like operator==)

Definition at line 211 of file cellInfoI.H.

References cellInfo::operator==().

Referenced by cellInfo::type(), and cellInfo::updateFace().

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

◆ operator==()

bool operator== ( const cellInfo rhs) const
inline

Definition at line 222 of file cellInfoI.H.

References cellInfo::type().

Referenced by cellInfo::equal(), and cellInfo::type().

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

◆ operator!=()

bool operator!= ( const cellInfo rhs) const
inline

Definition at line 228 of file cellInfoI.H.

Referenced by cellInfo::type().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

Referenced by cellInfo::type().

◆ operator>>

Istream& operator>> ( Istream ,
cellInfo  
)
friend

Referenced by cellInfo::type().


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