Holds information (coordinate and normal) regarding the nearest wall point. More...
Public Types | |
typedef Type | dataType |
Public Types inherited from wallPointData< Type > | |
typedef Type | dataType |
Type of additional data carried. More... | |
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... | |
Public Member Functions inherited from wallPointData< Type > | |
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... | |
Public Member Functions inherited from wallPoint | |
wallPoint () | |
Default construct. More... | |
wallPoint (const point &origin, const scalar distSqr) | |
Construct from origin, distance-squared. More... | |
const point & | origin () const |
point & | origin () |
scalar | distSqr () const |
scalar & | distSqr () |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Changed or contains original (invalid) value. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const wallPoint &, const scalar, TrackingData &td) const |
Check for identical geometrical data (eg, cyclics checking) More... | |
template<class TrackingData > | |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td) |
Convert any absolute coordinates into relative to (patch)face centre. More... | |
template<class TrackingData > | |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td) |
Reverse of leaveDomain. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &, const tensor &, TrackingData &td) |
Apply rotation matrix to any coordinates. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const wallPoint &, TrackingData &td) const |
Test for equality, with TrackingData. More... | |
bool | operator== (const wallPoint &) const |
Test for equality. More... | |
bool | operator!= (const wallPoint &) const |
Test for inequality. More... | |
Friends | |
Ostream & | operator (Ostream &, const directionalWallPointData< Type > &) |
Istream & | operator>> (Istream &, 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.
Definition at line 47 of file directionalWallPointData.H.
typedef Type dataType |
Definition at line 86 of file directionalWallPointData.H.
|
inline |
Construct null.
Definition at line 86 of file directionalWallPointDataI.H.
|
inline |
Construct from origin, normal, distance.
Definition at line 95 of file directionalWallPointDataI.H.
|
inline |
Influence of neighbouring face.
Calls update(...) with cellCentre of celli
Definition at line 111 of file directionalWallPointDataI.H.
References mesh, and update().
|
inline |
Influence of neighbouring cell.
Calls update(...) with faceCentre of facei
Definition at line 136 of file directionalWallPointDataI.H.
References primitiveMesh::faceCentres(), mesh, and update().
|
inline |
Influence of different value on same face.
Merge new and old info. Calls update(...) with faceCentre of facei
Definition at line 161 of file directionalWallPointDataI.H.
References primitiveMesh::faceCentres(), mesh, and update().
|
friend |
|
friend |
Definition at line 44 of file directionalWallPointData.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.