Holds information regarding nearest wall point. Used in wall distance calculation. More...
Public Member Functions | |
wallPoint () | |
Construct null. More... | |
wallPoint (const point &origin, const scalar distSqr) | |
Construct from origin, distance. More... | |
wallPoint (const wallPoint &) | |
Construct as copy. More... | |
const point & | origin () const |
point & | origin () |
scalar | distSqr () const |
scalar & | distSqr () |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const wallPoint &, const scalar, TrackingData &td) const |
Check for identical geometrical data. Used for 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. 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 |
Same (like operator==) More... | |
bool | operator== (const wallPoint &) const |
bool | operator!= (const wallPoint &) const |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const point &, const wallPoint &w2, const scalar tol, TrackingData &td) |
Evaluate distance to point. Update distSqr, origin from whomever. More... | |
Private Attributes | |
point | origin_ |
Position of nearest wall center. More... | |
scalar | distSqr_ |
Normal distance (squared) from cellcenter to origin. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const wallPoint &) |
Istream & | operator>> (Istream &, wallPoint &) |
Holds information regarding nearest wall point. Used in wall distance calculation.
Definition at line 63 of file wallPoint.H.
|
inline |
Construct null.
Definition at line 85 of file wallPointI.H.
Construct from origin, distance.
Definition at line 92 of file wallPointI.H.
Construct as copy.
Definition at line 99 of file wallPointI.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 34 of file wallPointI.H.
References Foam::diff(), Foam::magSqr(), and wallPoint::origin().
|
inline |
Definition at line 108 of file wallPointI.H.
Referenced by Foam::operator<<(), wallPoint::operator==(), Foam::operator>>(), and wallPoint::update().
|
inline |
|
inline |
Definition at line 120 of file wallPointI.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and wallPoint::sameGeometry().
|
inline |
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 133 of file wallPointI.H.
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 142 of file wallPointI.H.
References Foam::diff(), wallPoint::distSqr(), and Foam::mag().
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 171 of file wallPointI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 199 of file wallPointI.H.
Apply rotation matrix to any coordinates.
Definition at line 185 of file wallPointI.H.
References Foam::transform().
|
inline |
Influence of neighbouring face.
Definition at line 215 of file wallPointI.H.
References primitiveMesh::cellCentres(), and mesh.
|
inline |
Influence of neighbouring cell.
Definition at line 238 of file wallPointI.H.
References primitiveMesh::faceCentres(), and mesh.
|
inline |
Influence of different value on same face.
Definition at line 260 of file wallPointI.H.
References primitiveMesh::faceCentres(), and mesh.
|
inline |
Same (like operator==)
Definition at line 281 of file wallPointI.H.
References Foam::operator==().
|
inline |
Definition at line 292 of file wallPointI.H.
References wallPoint::origin().
|
inline |
Definition at line 298 of file wallPointI.H.
|
private |
Position of nearest wall center.
Definition at line 68 of file wallPoint.H.
|
private |
Normal distance (squared) from cellcenter to origin.
Definition at line 71 of file wallPoint.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.