directionalWallPointData< Type > Class Template Reference

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

Public Types

typedef Type dataType
 

Public Member Functions

 directionalWallPointData ()
 Construct null. More...
 
 directionalWallPointData (const point &origin, const Type &data, const scalar distSqr)
 Construct from origin, normal, distance. More...
 
template<class TrackingData >
bool updateCell (const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const directionalWallPointData< 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 directionalWallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const label thisFacei, const directionalWallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 

Friends

Ostreamoperator (Ostream &, const directionalWallPointData< Type > &)
 
Istreamoperator>> (Istream &, directionalWallPointData< Type > &)
 

Detailed Description

template<class Type>
class Foam::directionalWallPointData< Type >

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

Variant of wallPointData that ignores the specified normal component before comparing. This is used e.g. to find the distance to the wall in the z-direction only.

Source files

Definition at line 51 of file directionalWallPointData.H.

Member Typedef Documentation

◆ dataType

typedef Type dataType

Definition at line 87 of file directionalWallPointData.H.

Constructor & Destructor Documentation

◆ directionalWallPointData() [1/2]

Construct null.

Definition at line 93 of file directionalWallPointDataI.H.

◆ directionalWallPointData() [2/2]

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

Construct from origin, normal, distance.

Definition at line 102 of file directionalWallPointDataI.H.

Member Function Documentation

◆ updateCell()

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

Influence of neighbouring face.

Calls update(...) with cellCentre of celli

Definition at line 118 of file directionalWallPointDataI.H.

References mesh, and update().

Here is the call graph for this function:

◆ updateFace() [1/2]

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

Influence of neighbouring cell.

Calls update(...) with faceCentre of facei

Definition at line 143 of file directionalWallPointDataI.H.

References primitiveMesh::faceCentres(), mesh, and update().

Here is the call graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const directionalWallPointData< 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 168 of file directionalWallPointDataI.H.

References primitiveMesh::faceCentres(), mesh, and update().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator

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

◆ operator>>

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

Definition at line 51 of file directionalWallPointData.C.


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