OpenFOAM logo
Open Source CFD Toolkit

cellInfo Class Reference

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 cellInfo &, const scalar) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Convert any absolute coordinates into relative to (patch)face.
void enterDomain (const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Reverse of leaveDomain.
void transform (const tensor &rotTensor)
 Apply rotation matrix to any coordinates.
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const cellInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const cellInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, 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 105 of file cellInfoI.H.

References Foam::type().

Here is the call graph for this function:

cellInfo const   label  )  [inline]
 

Construct from cType.

Definition at line 112 of file cellInfoI.H.

References Foam::type().

Here is the call graph for this function:

cellInfo const cellInfo  )  [inline]
 

Construct as copy.

Definition at line 119 of file cellInfoI.H.


Member Function Documentation

void enterDomain const polyPatch patch,
const label  patchFaceI,
const point faceCentre
[inline]
 

Reverse of leaveDomain.

Definition at line 158 of file cellInfoI.H.

References Foam::label, and cellInfo::updateCell().

Here is the call graph for this function:

void leaveDomain const polyPatch patch,
const label  patchFaceI,
const point faceCentre
[inline]
 

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

centre

Definition at line 143 of file cellInfoI.H.

References Foam::tensor.

Referenced by cellInfo::sameGeometry().

bool operator!= const cellInfo  )  const [inline]
 

Definition at line 235 of file cellInfoI.H.

bool operator== const cellInfo  )  const [inline]
 

Definition at line 229 of file cellInfoI.H.

bool sameGeometry const cellInfo ,
const   scalar
const [inline]
 

Check for identical geometrical data. Used for cyclics checking.

Definition at line 134 of file cellInfoI.H.

References Foam::label, cellInfo::leaveDomain(), and Foam::point.

Here is the call graph for this function:

void transform const tensor rotTensor  )  [inline]
 

Apply rotation matrix to any coordinates.

Definition at line 152 of file cellInfoI.H.

References Foam::label, and Foam::point.

label type  )  const [inline]
 

Definition at line 104 of file cellInfo.H.

References Foam::label, Foam::point, and Foam::tensor.

bool updateCell const polyMesh mesh,
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.

Referenced by cellInfo::enterDomain().

bool updateFace const polyMesh mesh,
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 updateFace const polyMesh mesh,
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 valid  )  const [inline]
 

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 127 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:
For further information go to www.openfoam.org