For use with PatchEdgeFaceWave. Determines topological distance to starting edges. Templated on passive transported data. More...

Public Types | |
| typedef Type | dataType |
Public Member Functions | |
| edgeTopoDistanceData () | |
| Construct null with invalid (-1) for distance, null constructor. More... | |
| edgeTopoDistanceData (const label distance, const Type &data) | |
| Construct from distance, data. More... | |
| label | distance () const |
| const Type & | data () 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 PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td) |
| Apply rotation matrix. More... | |
| template<class TrackingData > | |
| bool | updateEdge (const polyMesh &mesh, const PrimitivePatchType &patch, const label edgeI, const label facei, const edgeTopoDistanceData< Type, PrimitivePatchType > &faceInfo, const scalar tol, TrackingData &td) |
| Influence of face on edge. More... | |
| template<class TrackingData > | |
| bool | updateEdge (const polyMesh &mesh, const PrimitivePatchType &patch, const edgeTopoDistanceData< Type, PrimitivePatchType > &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 PrimitivePatchType &patch, const label facei, const label edgeI, const edgeTopoDistanceData< Type, PrimitivePatchType > &edgeInfo, const scalar tol, TrackingData &td) |
| Influence of edge on face. More... | |
| template<class TrackingData > | |
| bool | equal (const edgeTopoDistanceData< Type, PrimitivePatchType > &, TrackingData &) const |
| Same (like operator==) More... | |
| bool | operator== (const edgeTopoDistanceData< Type, PrimitivePatchType > &) const |
| bool | operator!= (const edgeTopoDistanceData< Type, PrimitivePatchType > &) const |
Protected Attributes | |
| label | distance_ |
| Distance. More... | |
| Type | data_ |
| Starting data. More... | |
Friends | |
| Ostream & | operator (Ostream &, const edgeTopoDistanceData< Type, PrimitivePatchType > &) |
| Istream & | operator>> (Istream &, edgeTopoDistanceData< Type, PrimitivePatchType > &) |
For use with PatchEdgeFaceWave. Determines topological distance to starting edges. Templated on passive transported data.
Definition at line 51 of file edgeTopoDistanceData.H.
| typedef Type dataType |
Definition at line 91 of file edgeTopoDistanceData.H.
|
inline |
Construct null with invalid (-1) for distance, null constructor.
for data
Definition at line 29 of file edgeTopoDistanceDataI.H.
|
inline |
Construct from distance, data.
Definition at line 39 of file edgeTopoDistanceDataI.H.
|
inline |
Definition at line 116 of file edgeTopoDistanceData.H.
References edgeTopoDistanceData< Type, PrimitivePatchType >::distance_.
Referenced by edgeTopoDistanceData< Type, PrimitivePatchType >::operator==().

|
inline |
Definition at line 121 of file edgeTopoDistanceData.H.
References edgeTopoDistanceData< Type, PrimitivePatchType >::data_.
Referenced by edgeTopoDistanceData< Type, PrimitivePatchType >::operator==().

|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 54 of file edgeTopoDistanceDataI.H.
|
inline |
Apply rotation matrix.
Definition at line 65 of file edgeTopoDistanceDataI.H.
|
inline |
Influence of face on edge.
Definition at line 78 of file edgeTopoDistanceDataI.H.
References edgeTopoDistanceData< Type, PrimitivePatchType >::data_, and edgeTopoDistanceData< Type, PrimitivePatchType >::distance_.
|
inline |
New information for edge (from e.g. coupled edge)
Definition at line 103 of file edgeTopoDistanceDataI.H.
|
inline |
Influence of edge on face.
Definition at line 126 of file edgeTopoDistanceDataI.H.
|
inline |
Same (like operator==)
Definition at line 150 of file edgeTopoDistanceDataI.H.
References Foam::operator==().

|
inline |
Definition at line 163 of file edgeTopoDistanceDataI.H.
References edgeTopoDistanceData< Type, PrimitivePatchType >::data(), Foam::distance(), and edgeTopoDistanceData< Type, PrimitivePatchType >::distance().

|
inline |
Definition at line 173 of file edgeTopoDistanceDataI.H.
|
friend |
|
friend |
|
protected |
Distance.
Definition at line 81 of file edgeTopoDistanceData.H.
Referenced by edgeTopoDistanceData< Type, PrimitivePatchType >::distance(), and edgeTopoDistanceData< Type, PrimitivePatchType >::updateEdge().
|
protected |
Starting data.
Definition at line 86 of file edgeTopoDistanceData.H.
Referenced by edgeTopoDistanceData< Type, PrimitivePatchType >::data(), and edgeTopoDistanceData< Type, PrimitivePatchType >::updateEdge().