Holds information regarding nearest wall point. Used in wall distance calculation. More...
Public Member Functions | |
wallFace () | |
Construct null. More... | |
wallFace (const face &f, const pointField &points, const scalar distSqr) | |
Construct from face, distance. More... | |
wallFace (const face &f, const pointField &points, const point ¢re, const scalar distSqr) | |
Construct from face, distance. More... | |
const pointField & | points () const |
pointField & | points () |
scalar | distSqr () const |
scalar & | distSqr () |
template<class TrackingData > | |
scalar | dist (TrackingData &td) const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether the wallFace has been changed at all or still. More... | |
template<class TrackingData > | |
bool | sameGeometry (const wallFace &, const scalar, TrackingData &td) const |
Check for identical geometrical data. Used for checking. More... | |
template<class TrackingData > | |
void | transform (const transformer &transform, TrackingData &td) |
Transform across an interface. More... | |
template<class TrackingData > | |
bool | equal (const wallFace &, TrackingData &td) const |
Test equality. More... | |
bool | operator== (const wallFace &) const |
bool | operator!= (const wallFace &) const |
template<class TrackingData > | |
Foam::scalar | dist (TrackingData &td) const |
Protected Member Functions | |
template<class TrackingData > | |
bool | update (const point &pt, const wallFace &w2, const scalar tol, TrackingData &td) |
Evaluate distance to point. Update distSqr, origin from whomever. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const wallFace &) |
Istream & | operator>> (Istream &, wallFace &) |
Holds information regarding nearest wall point. Used in wall distance calculation.
Definition at line 58 of file wallFace.H.
|
inline |
Construct null.
Definition at line 76 of file wallFaceI.H.
|
inline |
Construct from face, distance.
Definition at line 83 of file wallFaceI.H.
|
inline |
Construct from face, distance.
Definition at line 95 of file wallFaceI.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 wallFaceI.H.
References Foam::diff(), PointHit< Point >::distance(), wallFace::distSqr(), Foam::identityMap(), face::nearestPoint(), wallFace::points(), Foam::sqr(), wallFace::valid(), and w2.
|
inline |
Definition at line 110 of file wallFaceI.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and wallFace::update().
|
inline |
Definition at line 116 of file wallFaceI.H.
|
inline |
Definition at line 122 of file wallFaceI.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and wallFace::update().
|
inline |
Definition at line 128 of file wallFaceI.H.
|
inline |
|
inline |
Check whether the wallFace has been changed at all or still.
contains original (invalid) value.
Definition at line 142 of file wallFaceI.H.
Referenced by wallFace::update().
|
inline |
Check for identical geometrical data. Used for checking.
consistency across cyclics.
Definition at line 149 of file wallFaceI.H.
References Foam::diff(), Foam::mag(), and w2.
|
inline |
Transform across an interface.
Definition at line 165 of file wallFaceI.H.
References Foam::transform().
|
inline |
Test equality.
Definition at line 177 of file wallFaceI.H.
References Foam::operator==().
|
inline |
Definition at line 189 of file wallFaceI.H.
References points.
|
inline |
Definition at line 198 of file wallFaceI.H.
|
inline |
Definition at line 135 of file wallFaceI.H.
References Foam::sqrt(), and Foam::blendedInterfacialModel::valid().