wallPointData< Type > Class Template Reference

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

Inheritance diagram for wallPointData< Type >:
[legend]

Public Types

typedef Type dataType
 Type of additional data carried. More...
 

Public Member Functions

 wallPointData ()
 Default construct. More...
 
 wallPointData (const point &origin, const Type &data, const scalar distSqr)
 Construct from origin, normal, distance. More...
 
const Type & data () const
 
Type & data ()
 
template<class TrackingData >
bool updateCell (const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const label thisFacei, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 

Friends

Ostreamoperator (Ostream &, const wallPointData< Type > &)
 
Istreamoperator>> (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 52 of file wallPointData.H.

Member Typedef Documentation

◆ dataType

typedef Type dataType

Type of additional data carried.

Definition at line 93 of file wallPointData.H.

Constructor & Destructor Documentation

◆ wallPointData() [1/2]

wallPointData ( )
inline

Default construct.

Definition at line 76 of file wallPointDataI.H.

◆ wallPointData() [2/2]

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

Construct from origin, normal, distance.

Definition at line 85 of file wallPointDataI.H.

Member Function Documentation

◆ data() [1/2]

const Type& data ( ) const
inline

Definition at line 114 of file wallPointData.H.

◆ data() [2/2]

Type& data ( )
inline

Definition at line 118 of file wallPointData.H.

◆ updateCell()

bool updateCell ( const polyMesh mesh,
const label  thisCelli,
const label  neighbourFacei,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Calls update(...) with cellCentre of celli

Definition at line 102 of file wallPointDataI.H.

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const label  neighbourCelli,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Calls update(...) with faceCentre of facei

Definition at line 127 of file wallPointDataI.H.

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Merge new and old info. Calls update(...) with faceCentre of facei

Definition at line 152 of file wallPointDataI.H.

Friends And Related Function Documentation

◆ operator

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

◆ operator>>

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

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