OpenFOAM logo
Open Source CFD Toolkit

wallPoint Class Reference

Inheritance diagram for wallPoint:

Inheritance graph
[legend]
Collaboration diagram for wallPoint:

Collaboration graph
[legend]
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 wallPoint &, const scalar tol) 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 wallPoint &neighbourWallInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPoint &neighbourWallInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const wallPoint &neighbourWallInfo, const scalar tol)
 Influence of different value on same face.
bool operator== (const wallPoint &) const
bool operator!= (const wallPoint &) const

Static Public Attributes

point greatPoint
 initial point far away.

Friends

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

Constructor & Destructor Documentation

wallPoint (   )  [inline]
 

Construct null.

Definition at line 90 of file wallPointI.H.

References Foam::point.

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

Construct from origin, distance.

Definition at line 98 of file wallPointI.H.

wallPoint (  const wallPoint &   )  [inline]
 

Construct as copy.

Definition at line 105 of file wallPointI.H.

References Foam::point.


Member Function Documentation

Foam::scalar & distSqr (   )  [inline]
 

Definition at line 131 of file wallPointI.H.

Foam::scalar distSqr (   )  const [inline]
 

Definition at line 125 of file wallPointI.H.

Referenced by wallPoint::valid().

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

Convert relative origin to absolute by adding entering point.

Definition at line 190 of file wallPointI.H.

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 168 of file wallPointI.H.

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

Definition at line 273 of file wallPointI.H.

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

Definition at line 267 of file wallPointI.H.

Foam::point & origin (   )  [inline]
 

Definition at line 119 of file wallPointI.H.

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

Definition at line 113 of file wallPointI.H.

References Foam::point.

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 144 of file wallPointI.H.

void transform (  const tensor &  rotTensor  )  [inline]
 

Apply rotation matrix to origin.

Definition at line 179 of file wallPointI.H.

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

Influence of neighbouring face.

Calls update(...) with cellCentre of cellI

Definition at line 203 of file wallPointI.H.

References mesh, and Foam::vectorField.

bool updateFace (  const polyMesh &  mesh,
const label  thisFaceI,
const wallPoint &  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 246 of file wallPointI.H.

References primitiveMesh::faceCentres(), mesh, and Foam::vectorField.

Here is the call graph for this function:

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

Influence of neighbouring cell.

Calls update(...) with faceCentre of faceI

Definition at line 225 of file wallPointI.H.

References primitiveMesh::faceCentres(), mesh, and Foam::vectorField.

Here is the call 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 137 of file wallPointI.H.

References wallPoint::distSqr(), and Foam::mag().

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

point greatPoint [static]
 

initial point far away.

Definition at line 94 of file wallPoint.H.


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