OpenFOAM logo
Open Source CFD Toolkit

wallNormalInfo Class Reference

Collaboration diagram for wallNormalInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wallNormalInfo ()
 Construct null.
 wallNormalInfo (const vector &normal)
 Construct from normal.
 wallNormalInfo (const wallNormalInfo &)
 Construct as copy.
const vectornormal () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const wallNormalInfo &, const scalar) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Convert origin to relative vector to leaving point.
void enterDomain (const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Convert relative origin to absolute by adding entering point.
void transform (const tensor &rotTensor)
 Apply rotation matrix to origin.
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallNormalInfo &neighbourWallInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallNormalInfo &neighbourWallInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const wallNormalInfo &neighbourWallInfo, const scalar tol)
 Influence of different value on same face.
bool operator== (const wallNormalInfo &) const
bool operator!= (const wallNormalInfo &) const

Static Public Attributes

point greatVector
 initial point far away.

Friends

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

Constructor & Destructor Documentation

wallNormalInfo  )  [inline]
 

Construct null.

Definition at line 70 of file wallNormalInfoI.H.

wallNormalInfo const vector normal  )  [inline]
 

Construct from normal.

Definition at line 77 of file wallNormalInfoI.H.

wallNormalInfo const wallNormalInfo  )  [inline]
 

Construct as copy.

Definition at line 84 of file wallNormalInfoI.H.

References Foam::vector.


Member Function Documentation

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

Convert relative origin to absolute by adding entering point.

Definition at line 135 of file wallNormalInfoI.H.

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

Here is the call graph for this function:

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

Convert origin to relative vector to leaving point.

(= face centre)

Definition at line 117 of file wallNormalInfoI.H.

References Foam::tensor, and wallNormalInfo::transform().

Referenced by wallNormalInfo::sameGeometry().

Here is the call graph for this function:

const Foam::vector & normal  )  const [inline]
 

Definition at line 92 of file wallNormalInfoI.H.

bool operator!= const wallNormalInfo  )  const [inline]
 

Definition at line 193 of file wallNormalInfoI.H.

bool operator== const wallNormalInfo  )  const [inline]
 

Definition at line 186 of file wallNormalInfoI.H.

bool sameGeometry const wallNormalInfo ,
const   scalar
const [inline]
 

Check for identical geometrical data. Used for cyclics checking.

Definition at line 106 of file wallNormalInfoI.H.

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

Here is the call graph for this function:

void transform const tensor rotTensor  )  [inline]
 

Apply rotation matrix to origin.

Definition at line 127 of file wallNormalInfoI.H.

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

Referenced by wallNormalInfo::leaveDomain().

bool updateCell const polyMesh mesh,
const label  thisCellI,
const label  neighbourFaceI,
const wallNormalInfo neighbourWallInfo,
const scalar  tol
[inline]
 

Influence of neighbouring face.

Calls update(...) with cellCentre of cellI

Definition at line 145 of file wallNormalInfoI.H.

Referenced by wallNormalInfo::enterDomain().

bool updateFace const polyMesh mesh,
const label  thisFaceI,
const wallNormalInfo neighbourWallInfo,
const scalar  tol
[inline]
 

Influence of different value on same face.

Merge new and old info. Calls update(...) with faceCentre of faceI

Definition at line 173 of file wallNormalInfoI.H.

bool updateFace const polyMesh mesh,
const label  thisFaceI,
const label  neighbourCellI,
const wallNormalInfo neighbourWallInfo,
const scalar  tol
[inline]
 

Influence of neighbouring cell.

Calls update(...) with faceCentre of faceI

Definition at line 159 of file wallNormalInfoI.H.

bool valid  )  const [inline]
 

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 98 of file wallNormalInfoI.H.


Friends And Related Function Documentation

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

Istream& operator>> Istream ,
wallNormalInfo
[friend]
 


Member Data Documentation

point greatVector [static]
 

initial point far away.

Definition at line 82 of file wallNormalInfo.H.


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