For use with PointEdgeWave. Determines topological distance to starting points. Templated on passive transported data. More...
Public Types | |
typedef Type | dataType |
Public Member Functions | |
pointTopoDistanceData () | |
Construct null with invalid (-1) for distance, null constructor. More... | |
pointTopoDistanceData (const label distance, const Type &data) | |
Construct from components. More... | |
label | distance () const |
const Type & | data () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Changed or contains original (invalid) value. More... | |
template<class TrackingData > | |
bool | sameGeometry (const pointTopoDistanceData< Type > &, const scalar tol, TrackingData &td) const |
Check for identical geometrical data (eg, cyclics checking) More... | |
template<class TrackingData > | |
void | leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
Convert origin to relative vector to leaving point. More... | |
template<class TrackingData > | |
void | enterDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
Convert relative origin to absolute by adding entering point. More... | |
template<class TrackingData > | |
void | transform (const tensor &rotTensor, TrackingData &td) |
Apply rotation matrix to origin. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const label edgeI, const pointTopoDistanceData< Type > &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on point. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const pointTopoDistanceData< Type > &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updatePoint (const pointTopoDistanceData< Type > &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointTopoDistanceData< Type > &pointInfo, const scalar tol, TrackingData &td) |
Influence of point on edge. More... | |
template<class TrackingData > | |
bool | equal (const pointTopoDistanceData< Type > &, TrackingData &) const |
Test for equality, with TrackingData. More... | |
bool | operator== (const pointTopoDistanceData< Type > &) const |
bool | operator!= (const pointTopoDistanceData< Type > &) const |
Friends | |
Ostream & | operator (Ostream &, const pointTopoDistanceData< Type > &) |
Istream & | operator>> (Istream &, pointTopoDistanceData< Type > &) |
For use with PointEdgeWave. Determines topological distance to starting points. Templated on passive transported data.
Definition at line 49 of file pointTopoDistanceData.H.
typedef Type dataType |
Definition at line 78 of file pointTopoDistanceData.H.
|
inline |
Construct null with invalid (-1) for distance, null constructor.
for data
Definition at line 27 of file pointTopoDistanceDataI.H.
|
inline |
Construct from components.
Definition at line 36 of file pointTopoDistanceDataI.H.
|
inline |
Definition at line 104 of file pointTopoDistanceData.H.
Referenced by pointTopoDistanceData< Type >::operator==().
|
inline |
Definition at line 109 of file pointTopoDistanceData.H.
Referenced by pointTopoDistanceData< Type >::operator==().
|
inline |
Changed or contains original (invalid) value.
Definition at line 50 of file pointTopoDistanceDataI.H.
|
inline |
Check for identical geometrical data (eg, cyclics checking)
Definition at line 60 of file pointTopoDistanceDataI.H.
|
inline |
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 74 of file pointTopoDistanceDataI.H.
|
inline |
Convert relative origin to absolute by adding entering point.
Definition at line 98 of file pointTopoDistanceDataI.H.
|
inline |
Apply rotation matrix to origin.
Definition at line 87 of file pointTopoDistanceDataI.H.
|
inline |
Influence of edge on point.
Definition at line 111 of file pointTopoDistanceDataI.H.
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 135 of file pointTopoDistanceDataI.H.
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 158 of file pointTopoDistanceDataI.H.
|
inline |
Influence of point on edge.
Definition at line 179 of file pointTopoDistanceDataI.H.
|
inline |
Test for equality, with TrackingData.
Definition at line 202 of file pointTopoDistanceDataI.H.
References Foam::operator==().
|
inline |
Definition at line 215 of file pointTopoDistanceDataI.H.
References pointTopoDistanceData< Type >::data(), Foam::distance(), and pointTopoDistanceData< Type >::distance().
|
inline |
Definition at line 225 of file pointTopoDistanceDataI.H.
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.