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

wallPointData< Type > Class Template Reference

Holds information (coordinate and normal) regarding nearest wall point. More...

Inheritance diagram for wallPointData< Type >:
Collaboration diagram for wallPointData< Type >:

List of all members.


Public Types

typedef Type dataType

Public Member Functions

 wallPointData ()
 Construct null.
 wallPointData (const point &origin, const Type &data, const scalar distSqr)
 Construct from origin, normal, distance.
const Type & data () const
Type & data ()
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointData< Type > &neighbourWallInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointData< Type > &neighbourWallInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const wallPointData< Type > &neighbourWallInfo, const scalar tol)
 Influence of different value on same face.

Friends

Ostream & operator (Ostream &, const wallPointData< Type > &)
Istream & operator>> (Istream &, wallPointData< Type > &)

Detailed Description

template<class Type>
class Foam::wallPointData< Type >

Holds information (coordinate and normal) regarding nearest wall point.

Is like wallPoint but transfer extra (passive) data. Used e.g. in wall distance calculation with wall reflection vectors.

Source files

Definition at line 57 of file wallPointData.H.


Member Typedef Documentation

typedef Type dataType

Definition at line 84 of file wallPointData.H.


Constructor & Destructor Documentation

wallPointData (  )  [inline]

Construct null.

Definition at line 79 of file wallPointDataI.H.

wallPointData ( const point &  origin,
const Type &  data,
const scalar  distSqr 
) [inline]

Construct from origin, normal, distance.

Definition at line 89 of file wallPointDataI.H.


Member Function Documentation

const Type & data (  )  const [inline]

Definition at line 103 of file wallPointDataI.H.

Type & data (  )  [inline]

Definition at line 110 of file wallPointDataI.H.

bool updateCell ( const polyMesh &  mesh,
const label  thisCellI,
const label  neighbourFaceI,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol 
) [inline]

Influence of neighbouring face.

Calls update(...) with cellCentre of cellI

Definition at line 119 of file wallPointDataI.H.

bool updateFace ( const polyMesh &  mesh,
const label  thisFaceI,
const label  neighbourCellI,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol 
) [inline]

Influence of neighbouring cell.

Calls update(...) with faceCentre of faceI

Definition at line 141 of file wallPointDataI.H.

bool updateFace ( const polyMesh &  mesh,
const label  thisFaceI,
const wallPointData< Type > &  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 163 of file wallPointDataI.H.


Friends And Related Function Documentation

Ostream& operator ( Ostream &  ,
const wallPointData< Type > &   
) [friend]

Istream& operator>> ( Istream &  ,
wallPointData< Type > &   
) [friend]

Definition at line 47 of file wallPointData.C.


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