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

wallPoint Class Reference

Holds information regarding nearest wall point. Used in wall distance calculation. More...

Inheritance diagram for wallPoint:
Collaboration diagram for wallPoint:

List of all members.


Public Member Functions

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

Static Public Attributes

static point greatPoint
 initial point far away.

Friends

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

Detailed Description

Holds information regarding nearest wall point. Used in wall distance calculation.

Source files

Definition at line 59 of file wallPoint.H.


Constructor & Destructor Documentation

wallPoint (  )  [inline]

Construct null.

Definition at line 76 of file wallPointI.H.

wallPoint ( const point &  origin,
const scalar  distSqr 
) [inline]

Construct from origin, distance.

Definition at line 84 of file wallPointI.H.

wallPoint ( const wallPoint &  wpt  )  [inline]

Construct as copy.

Definition at line 91 of file wallPointI.H.


Member Function Documentation

const Foam::point & origin (  )  const [inline]

Definition at line 99 of file wallPointI.H.

Referenced by wallPoint::operator!=(), and Foam::operator>>().

Here is the caller graph for this function:

Foam::point & origin (  )  [inline]

Definition at line 105 of file wallPointI.H.

Foam::scalar distSqr (  )  const [inline]

Definition at line 111 of file wallPointI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

Foam::scalar & distSqr (  )  [inline]

Definition at line 117 of file wallPointI.H.

bool valid (  )  const [inline]

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 123 of file wallPointI.H.

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 131 of file wallPointI.H.

References wallPoint::greatPoint.

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

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

centre

Definition at line 159 of file wallPointI.H.

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

Reverse of leaveDomain.

Definition at line 183 of file wallPointI.H.

References wallPoint::transform().

Here is the call graph for this function:

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

Apply rotation matrix to any coordinates.

Definition at line 171 of file wallPointI.H.

Referenced by wallPoint::enterDomain().

Here is the caller graph for this function:

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

Influence of neighbouring face.

Definition at line 197 of file wallPointI.H.

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

Influence of neighbouring cell.

Definition at line 217 of file wallPointI.H.

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

Influence of different value on same face.

Definition at line 236 of file wallPointI.H.

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

Definition at line 255 of file wallPointI.H.

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

Definition at line 261 of file wallPointI.H.

References wallPoint::origin().

Here is the call graph for this function:


Friends And Related Function Documentation

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

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


Member Data Documentation

initial point far away.

Definition at line 89 of file wallPoint.H.

Referenced by pointData::sameGeometry(), and wallPoint::sameGeometry().


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