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 face &f, const pointField &ps, const point ¢re, const scalar distSqr) | |
Construct from face, distance. More... | |
const point & | origin () const |
point & | origin () |
scalar | distSqr () const |
scalar & | distSqr () |
template<class TrackingData > | |
scalar | dist (TrackingData &td) const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const wallPoint &, const scalar, TrackingData &td) const |
Check for identical geometrical data. Used for cyclics checking. More... | |
template<class TrackingData > | |
void | transform (const transformer &transform, TrackingData &td) |
Transform across an interface. 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 |
template<class TrackingData > | |
Foam::scalar | dist (TrackingData &td) const |
Protected 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... | |
Friends | |
Ostream & | operator<< (Ostream &, const wallPoint &) |
Istream & | operator>> (Istream &, wallPoint &) |
Holds information regarding nearest wall point. Used in wall distance calculation.
Definition at line 58 of file wallPoint.H.
|
inline |
Construct null.
Definition at line 70 of file wallPointI.H.
Construct from origin, distance.
Definition at line 77 of file wallPointI.H.
|
inline |
Construct from face, distance.
Definition at line 88 of file wallPointI.H.
|
inlineprotected |
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 33 of file wallPointI.H.
References Foam::diff(), wallPoint::distSqr(), Foam::magSqr(), wallPoint::origin(), wallPoint::valid(), and w2.
|
inline |
Definition at line 103 of file wallPointI.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and wallPoint::update().
|
inline |
Definition at line 109 of file wallPointI.H.
|
inline |
Definition at line 115 of file wallPointI.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and wallPoint::update().
|
inline |
Definition at line 121 of file wallPointI.H.
|
inline |
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 135 of file wallPointI.H.
Referenced by wallPoint::update().
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 142 of file wallPointI.H.
References Foam::diff(), Foam::mag(), and w2.
|
inline |
Transform across an interface.
Definition at line 158 of file wallPointI.H.
References Foam::transform().
|
inline |
Same (like operator==)
Definition at line 170 of file wallPointI.H.
References Foam::operator==().
|
inline |
Definition at line 182 of file wallPointI.H.
|
inline |
Definition at line 191 of file wallPointI.H.
|
inline |
Definition at line 128 of file wallPointI.H.
References Foam::sqrt(), and Foam::blendedInterfacialModel::valid().