FreeFOAM The Cross-Platform CFD Toolkit
wallNormalInfo Class Reference

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

#include <dynamicMesh/wallNormalInfo.H>


Detailed Description

+ 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 vectornormal () 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

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

Constructor & Destructor Documentation

wallNormalInfo ( )
inline

Construct null.

Definition at line 59 of file wallNormalInfoI.H.

wallNormalInfo ( const vector normal)
inline

Construct from normal.

Definition at line 66 of file wallNormalInfoI.H.

wallNormalInfo ( const wallNormalInfo wpt)
inline

Construct as copy.

Definition at line 73 of file wallNormalInfoI.H.


Member Function Documentation

const Foam::vector & normal ( ) const
inline

Definition at line 81 of file wallNormalInfoI.H.

Referenced by wallNormalInfo::operator==(), and wallLayerCells::wallLayerCells().

bool valid ( ) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 87 of file wallNormalInfoI.H.

Referenced by wallLayerCells::wallLayerCells().

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 95 of file wallNormalInfoI.H.

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

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

Reverse of leaveDomain.

Definition at line 127 of file wallNormalInfoI.H.

void transform ( const polyMesh ,
const tensor rotTensor 
)
inline

Apply rotation matrix to any coordinates.

Definition at line 118 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 138 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 152 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 166 of file wallNormalInfoI.H.

bool operator== ( const wallNormalInfo rhs) const
inline

Definition at line 179 of file wallNormalInfoI.H.

References wallNormalInfo::normal().

bool operator!= ( const wallNormalInfo rhs) const
inline

Definition at line 186 of file wallNormalInfoI.H.


Friends And Related Function Documentation

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

Member Data Documentation

Foam::point greatVector
static

initial point far away.

Definition at line 75 of file wallNormalInfo.H.


The documentation for this class was generated from the following files: