Public Member Functions | |
patchEdgeFaceInfo () | |
Construct null. More... | |
patchEdgeFaceInfo (const point &, const scalar) | |
Construct from origin, distance. More... | |
patchEdgeFaceInfo (const patchEdgeFaceInfo &) | |
Construct as copy. More... | |
const point & | origin () const |
scalar | distSqr () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &mesh, const primitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td) |
Apply rotation matrix. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const primitivePatch &patch, const label edgeI, const label faceI, const patchEdgeFaceInfo &faceInfo, const scalar tol, TrackingData &td) |
Influence of face on edge. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const primitivePatch &patch, const patchEdgeFaceInfo &edgeInfo, const bool sameOrientation, const scalar tol, TrackingData &td) |
New information for edge (from e.g. coupled edge) More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &mesh, const primitivePatch &patch, const label faceI, const label edgeI, const patchEdgeFaceInfo &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on face. More... | |
template<class TrackingData > | |
bool | equal (const patchEdgeFaceInfo &, TrackingData &td) const |
Same (like operator==) More... | |
bool | operator== (const patchEdgeFaceInfo &) const |
bool | operator!= (const patchEdgeFaceInfo &) const |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const point &, const patchEdgeFaceInfo &w2, const scalar tol, TrackingData &td) |
Evaluate distance to point. Update distSqr, origin from whomever. More... | |
template<class TrackingData > | |
bool | update (const patchEdgeFaceInfo &w2, const scalar tol, TrackingData &td) |
Combine current with w2. Update distSqr, origin if w2 has smaller. More... | |
Private Attributes | |
point | origin_ |
Position of nearest wall center. More... | |
scalar | distSqr_ |
Normal distance (squared) from point to origin. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const patchEdgeFaceInfo &) |
Istream & | operator>> (Istream &, patchEdgeFaceInfo &) |
Definition at line 57 of file patchEdgeFaceInfo.H.
|
inline |
Construct null.
Definition at line 121 of file patchEdgeFaceInfoI.H.
|
inline |
Construct from origin, distance.
Definition at line 130 of file patchEdgeFaceInfoI.H.
|
inline |
Construct as copy.
Definition at line 141 of file patchEdgeFaceInfoI.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 patchEdgeFaceInfoI.H.
References Foam::diff(), Foam::magSqr(), and patchEdgeFaceInfo::origin().
|
inlineprivate |
Combine current with w2. Update distSqr, origin if w2 has smaller.
quantities and returns true.
Definition at line 79 of file patchEdgeFaceInfoI.H.
References Foam::diff(), patchEdgeFaceInfo::distSqr(), and patchEdgeFaceInfo::origin().
|
inline |
Definition at line 150 of file patchEdgeFaceInfoI.H.
Referenced by patchEdgeFaceInfo::operator==(), and patchEdgeFaceInfo::update().
|
inline |
Definition at line 156 of file patchEdgeFaceInfoI.H.
Referenced by patchEdgeFaceInfo::update().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 163 of file patchEdgeFaceInfoI.H.
References Vector< scalar >::max.
|
inline |
Apply rotation matrix.
Definition at line 171 of file patchEdgeFaceInfoI.H.
References Foam::transform().
|
inline |
Influence of face on edge.
Definition at line 185 of file patchEdgeFaceInfoI.H.
References Foam::e, PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), PrimitivePatch< Face, FaceList, PointField, PointType >::meshPoints(), and PrimitivePatch< Face, FaceList, PointField, PointType >::points().
|
inline |
New information for edge (from e.g. coupled edge)
Definition at line 208 of file patchEdgeFaceInfoI.H.
|
inline |
Influence of edge on face.
Definition at line 223 of file patchEdgeFaceInfoI.H.
References PrimitivePatch< Face, FaceList, PointField, PointType >::faceCentres().
|
inline |
Same (like operator==)
Definition at line 239 of file patchEdgeFaceInfoI.H.
References Foam::operator==().
|
inline |
Definition at line 251 of file patchEdgeFaceInfoI.H.
References patchEdgeFaceInfo::origin().
|
inline |
Definition at line 260 of file patchEdgeFaceInfoI.H.
|
friend |
|
friend |
|
private |
Position of nearest wall center.
Definition at line 62 of file patchEdgeFaceInfo.H.
|
private |
Normal distance (squared) from point to origin.
Definition at line 65 of file patchEdgeFaceInfo.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.