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

wallNormalInfo Class Reference

Holds information regarding nearest wall point. Used in wall refinement. More...

Collaboration diagram for wallNormalInfo:

List of all members.


Public Member Functions

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

Static Public Attributes

static point greatVector
 initial point far away.

Friends

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

Detailed Description

Holds information regarding nearest wall point. Used in wall refinement.

Source files

Definition at line 53 of file wallNormalInfo.H.


Constructor & Destructor Documentation

wallNormalInfo (  )  [inline]

Construct null.

Definition at line 51 of file wallNormalInfoI.H.

wallNormalInfo ( const vector &  normal  )  [inline]

Construct from normal.

Definition at line 58 of file wallNormalInfoI.H.

wallNormalInfo ( const wallNormalInfo &  wpt  )  [inline]

Construct as copy.

Definition at line 65 of file wallNormalInfoI.H.


Member Function Documentation

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

Definition at line 73 of file wallNormalInfoI.H.

Referenced by wallNormalInfo::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 79 of file wallNormalInfoI.H.

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 87 of file wallNormalInfoI.H.

References wallNormalInfo::greatVector.

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 99 of file wallNormalInfoI.H.

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

Reverse of leaveDomain.

Definition at line 119 of file wallNormalInfoI.H.

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

Apply rotation matrix to any coordinates.

Definition at line 110 of file wallNormalInfoI.H.

bool updateCell ( const polyMesh &  ,
const label  thisCellI,
const label  neighbourFaceI,
const wallNormalInfo &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of neighbouring face.

Definition at line 130 of file wallNormalInfoI.H.

bool updateFace ( const polyMesh &  ,
const label  thisFaceI,
const label  neighbourCellI,
const wallNormalInfo &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of neighbouring cell.

Definition at line 144 of file wallNormalInfoI.H.

bool updateFace ( const polyMesh &  ,
const label  thisFaceI,
const wallNormalInfo &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of different value on same face.

Definition at line 158 of file wallNormalInfoI.H.

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

Definition at line 171 of file wallNormalInfoI.H.

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

Definition at line 178 of file wallNormalInfoI.H.

References wallNormalInfo::normal().

Here is the call graph for this function:


Friends And Related Function Documentation

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

Istream& operator>> ( Istream &  ,
wallNormalInfo &   
) [friend]


Member Data Documentation

initial point far away.

Definition at line 70 of file wallNormalInfo.H.

Referenced by wallNormalInfo::sameGeometry().


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd