OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cellInfo Class Reference

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

Collaboration diagram for cellInfo:

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

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

Detailed Description

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

Source files

Definition at line 50 of file cellInfo.H.


Constructor & Destructor Documentation

cellInfo (  )  [inline]

Construct null.

Definition at line 86 of file cellInfoI.H.

cellInfo ( const label  type  )  [inline]

Construct from cType.

Definition at line 93 of file cellInfoI.H.

cellInfo ( const cellInfo &  w2  )  [inline]

Construct as copy.

Definition at line 100 of file cellInfoI.H.


Member Function Documentation

label type (  )  const [inline]

Definition at line 90 of file cellInfo.H.

Referenced by cellInfo::operator!=().

Here is the caller graph for this function:

bool valid (  )  const [inline]

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 108 of file cellInfoI.H.

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 116 of file cellInfoI.H.

References cellClassification::NOTSET.

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 129 of file cellInfoI.H.

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

Reverse of leaveDomain.

Definition at line 149 of file cellInfoI.H.

void transform ( const polyMesh &  ,
const tensor &  rotTensor 
) [inline]

Apply rotation matrix to any coordinates.

Definition at line 140 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 160 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 181 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 201 of file cellInfoI.H.

bool operator== ( const cellInfo &  rhs  )  const [inline]

Definition at line 221 of file cellInfoI.H.

bool operator!= ( const cellInfo &  rhs  )  const [inline]

Definition at line 227 of file cellInfoI.H.

References cellInfo::type().

Here is the call graph for this function:


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:
Copyright © 2000-2009 OpenCFD Ltd