OpenFOAM logo
Open Source CFD Toolkit

regionInfo Class Reference

List of all members.

Public Member Functions

 regionInfo ()
 Construct null.
 regionInfo (const label)
 Construct from cType.
 regionInfo (const regionInfo &)
 Construct as copy.
label region () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const regionInfo &, 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 regionInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const regionInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const regionInfo &neighbourInfo, const scalar tol)
 Influence of different value on same face.
bool operator== (const regionInfo &) const
bool operator!= (const regionInfo &) const

Friends

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

Constructor & Destructor Documentation

regionInfo  )  [inline]
 

Construct null.

Definition at line 77 of file regionInfoI.H.

regionInfo const   label  )  [inline]
 

Construct from cType.

Definition at line 84 of file regionInfoI.H.

regionInfo const regionInfo  )  [inline]
 

Construct as copy.

Definition at line 91 of file regionInfoI.H.


Member Function Documentation

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

Reverse of leaveDomain.

Definition at line 133 of file regionInfoI.H.

References Foam::label, and regionInfo::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 118 of file regionInfoI.H.

References Foam::tensor.

Referenced by regionInfo::sameGeometry().

bool operator!= const regionInfo  )  const [inline]
 

Definition at line 210 of file regionInfoI.H.

bool operator== const regionInfo  )  const [inline]
 

Definition at line 204 of file regionInfoI.H.

label region  )  const [inline]
 

Definition at line 104 of file regionInfo.H.

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

bool sameGeometry const regionInfo ,
const   scalar
const [inline]
 

Check for identical geometrical data. Used for cyclics checking.

Definition at line 107 of file regionInfoI.H.

References Foam::label, regionInfo::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 127 of file regionInfoI.H.

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

bool updateCell const polyMesh mesh,
const label  thisCellI,
const label  neighbourFaceI,
const regionInfo neighbourInfo,
const scalar  tol
[inline]
 

Influence of neighbouring face.

Definition at line 143 of file regionInfoI.H.

Referenced by regionInfo::enterDomain().

bool updateFace const polyMesh mesh,
const label  thisFaceI,
const regionInfo neighbourInfo,
const scalar  tol
[inline]
 

Influence of different value on same face.

Definition at line 184 of file regionInfoI.H.

bool updateFace const polyMesh mesh,
const label  thisFaceI,
const label  neighbourCellI,
const regionInfo neighbourInfo,
const scalar  tol
[inline]
 

Influence of neighbouring cell.

Definition at line 164 of file regionInfoI.H.

bool valid  )  const [inline]
 

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 99 of file regionInfoI.H.


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const regionInfo
[friend]
 

Istream& operator>> Istream ,
regionInfo
[friend]
 


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org