FreeFOAM The Cross-Platform CFD Toolkit
cellInfo Class Reference

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

#include <meshTools/cellInfo.H>


Detailed Description

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

Source files

Definition at line 55 of file cellInfo.H.

List of all members.

Public Member Functions

 cellInfo ()
 Construct null.
 cellInfo (const label)
 Construct from cType.
 cellInfo (const cellInfo &)
 Construct as copy.
label type () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const polyMesh &, const cellInfo &, const scalar) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyMesh &, const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Convert any absolute coordinates into relative to (patch)face.
void enterDomain (const polyMesh &, const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Reverse of leaveDomain.
void transform (const polyMesh &, const tensor &rotTensor)
 Apply rotation matrix to any coordinates.
bool updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const cellInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const cellInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &, const label thisFaceI, const cellInfo &neighbourInfo, const scalar tol)
 Influence of different value on same face.
bool operator== (const cellInfo &) const
bool operator!= (const cellInfo &) const

Friends

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

Constructor & Destructor Documentation

cellInfo ( )
inline

Construct null.

Definition at line 94 of file cellInfoI.H.

cellInfo ( const label  type)
inline

Construct from cType.

Definition at line 101 of file cellInfoI.H.

cellInfo ( const cellInfo w2)
inline

Construct as copy.

Definition at line 108 of file cellInfoI.H.


Member Function Documentation

label type ( ) const
inline

Definition at line 93 of file cellInfo.H.

Referenced by cellInfo::operator==().

bool valid ( ) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 116 of file cellInfoI.H.

References cellClassification::NOTSET.

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 124 of file cellInfoI.H.

void leaveDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFaceI,
const point faceCentre 
)
inline

Convert any absolute coordinates into relative to (patch)face.

centre

Definition at line 137 of file cellInfoI.H.

void enterDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFaceI,
const point faceCentre 
)
inline

Reverse of leaveDomain.

Definition at line 157 of file cellInfoI.H.

void transform ( const polyMesh ,
const tensor rotTensor 
)
inline

Apply rotation matrix to any coordinates.

Definition at line 148 of file cellInfoI.H.

bool updateCell ( const polyMesh ,
const label  thisCellI,
const label  neighbourFaceI,
const cellInfo neighbourInfo,
const scalar  tol 
)
inline

Influence of neighbouring face.

Definition at line 168 of file cellInfoI.H.

bool updateFace ( const polyMesh ,
const label  thisFaceI,
const label  neighbourCellI,
const cellInfo neighbourInfo,
const scalar  tol 
)
inline

Influence of neighbouring cell.

Definition at line 189 of file cellInfoI.H.

bool updateFace ( const polyMesh ,
const label  thisFaceI,
const cellInfo neighbourInfo,
const scalar  tol 
)
inline

Influence of different value on same face.

Definition at line 209 of file cellInfoI.H.

bool operator== ( const cellInfo rhs) const
inline

Definition at line 229 of file cellInfoI.H.

References cellInfo::type(), and Foam::type().

bool operator!= ( const cellInfo rhs) const
inline

Definition at line 235 of file cellInfoI.H.


Friends And Related Function Documentation

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

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