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

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

Public Member Functions

 cellInfo ()
 
 cellInfo (const label ctype)
 
label type () const
 
label & type ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const cellInfo &, const scalar, TrackingData &td) const
 
template<class TrackingData >
void leaveDomain (const polyMesh &, const polyPatch &patch, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void enterDomain (const polyMesh &, const polyPatch &patch, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void transform (const polyMesh &, const tensor &rotTensor, TrackingData &td)
 
template<class TrackingData >
bool updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const cellInfo &, TrackingData &td) const
 
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 60 of file cellInfo.H.

Constructor & Destructor Documentation

◆ cellInfo() [1/2]

cellInfo ( )
inline

Definition at line 91 of file cellInfoI.H.

◆ cellInfo() [2/2]

cellInfo ( const label  ctype)
inlineexplicit

Definition at line 97 of file cellInfoI.H.

Member Function Documentation

◆ type() [1/2]

label type ( ) const
inline

Definition at line 98 of file cellInfo.H.

◆ type() [2/2]

label& type ( )
inline

Definition at line 102 of file cellInfo.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 106 of file cellInfoI.H.

References cellClassification::NOTSET.

Referenced by FaceCellWave< Type, int >::updateCell().

Here is the caller graph for this function:

◆ sameGeometry()

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

Definition at line 115 of file cellInfoI.H.

◆ leaveDomain()

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

Definition at line 129 of file cellInfoI.H.

◆ enterDomain()

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

Definition at line 153 of file cellInfoI.H.

◆ transform()

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

Definition at line 142 of file cellInfoI.H.

◆ updateCell()

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

Definition at line 166 of file cellInfoI.H.

References update().

Referenced by FaceCellWave< Type, int >::updateCell().

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

Definition at line 190 of file cellInfoI.H.

References update().

Here is the call graph for this function:

◆ updateFace() [2/2]

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

Definition at line 214 of file cellInfoI.H.

References update().

Here is the call graph for this function:

◆ equal()

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

Definition at line 236 of file cellInfoI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const cellInfo rhs) const
inline

Definition at line 248 of file cellInfoI.H.

◆ operator!=()

bool operator!= ( const cellInfo rhs) const
inline

Definition at line 257 of file cellInfoI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
cellInfo  
)
friend

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