Holds information (coordinate and normal) regarding nearest wall point. More...
Public Types | |
typedef Type | dataType |
Public Member Functions | |
wallPointData () | |
Construct null. 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... | |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const point &, const wallPointData< Type > &w2, const scalar tol, TrackingData &td) |
Evaluate distance to point. Update distSqr, origin from whomever. More... | |
Private Attributes | |
Type | data_ |
Data at nearest wall center. More... | |
Friends | |
Ostream & | operator (Ostream &, const wallPointData< Type > &) |
Istream & | operator>> (Istream &, 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.
Definition at line 48 of file wallPointData.H.
typedef Type dataType |
Definition at line 88 of file wallPointData.H.
|
inline |
Construct null.
Definition at line 79 of file wallPointDataI.H.
|
inline |
Construct from origin, normal, distance.
Definition at line 89 of file wallPointDataI.H.
|
inlineprivate |
Evaluate distance to point. Update distSqr, origin from whomever.
is nearer pt. Return true if w2 is closer to point, false otherwise.
Definition at line 37 of file wallPointDataI.H.
|
inline |
Definition at line 103 of file wallPointDataI.H.
Referenced by wallPointYPlus::update(), wallPointData< scalar >::update(), and transportData::update().
|
inline |
Definition at line 110 of file wallPointDataI.H.
|
inline |
Influence of neighbouring face.
Calls update(...) with cellCentre of cellI
Definition at line 120 of file wallPointDataI.H.
|
inline |
Influence of neighbouring cell.
Calls update(...) with faceCentre of faceI
Definition at line 145 of file wallPointDataI.H.
|
inline |
Influence of different value on same face.
Merge new and old info. Calls update(...) with faceCentre of faceI
Definition at line 170 of file wallPointDataI.H.
|
friend |
|
friend |
Definition at line 51 of file wallPointData.C.
|
private |
Data at nearest wall center.
Definition at line 68 of file wallPointData.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.