For use with PatchEdgeFaceWave. Determines topological distance to starting edges. Templated on passive transported data. More...
#include <edgeTopoDistanceData.H>
Public Types | |
| typedef Type | dataType |
Public Member Functions | |
| edgeTopoDistanceData () | |
| Construct null with invalid (-1) for distance, null constructor. | |
| edgeTopoDistanceData (const label distance, const Type &data) | |
| Construct from distance, data. | |
| label | distance () const |
| const Type & | data () const |
| template<class TrackingData> | |
| bool | valid (TrackingData &td) const |
| Check whether origin has been changed at all or. | |
| template<class TrackingData> | |
| void | transform (const polyMesh &mesh, const PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td) |
| Apply rotation matrix. | |
| 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. | |
| 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). | |
| 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. | |
| template<class TrackingData> | |
| bool | equal (const edgeTopoDistanceData< Type, PrimitivePatchType > &, TrackingData &) const |
| Same (like operator==). | |
| bool | operator== (const edgeTopoDistanceData< Type, PrimitivePatchType > &) const |
| bool | operator!= (const edgeTopoDistanceData< Type, PrimitivePatchType > &) const |
Protected Attributes | |
| label | distance_ |
| Distance. | |
| Type | data_ |
| Starting data. | |
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 72 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.
References data_, and distance_.
Referenced by equal(), operator, operator>>, updateEdge(), updateEdge(), and updateFace().

|
inline |
Construct from distance, data.
Definition at line 38 of file edgeTopoDistanceDataI.H.
References data(), data_, distance(), and distance_.

|
inline |
Definition at line 116 of file edgeTopoDistanceData.H.
References distance_.
Referenced by edgeTopoDistanceData().

|
inline |
Definition at line 121 of file edgeTopoDistanceData.H.
References data_.
Referenced by edgeTopoDistanceData(), and operator==().

|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 53 of file edgeTopoDistanceDataI.H.
References distance_, and td().

|
inline |
Apply rotation matrix.
Definition at line 64 of file edgeTopoDistanceDataI.H.

|
inline |
Influence of face on edge.
Definition at line 77 of file edgeTopoDistanceDataI.H.
References data_, distance_, edgeTopoDistanceData(), mesh, and td().

|
inline |
New information for edge (from e.g. coupled edge).
Definition at line 102 of file edgeTopoDistanceDataI.H.
References distance_, edgeTopoDistanceData(), mesh, and td().

|
inline |
Influence of edge on face.
Definition at line 125 of file edgeTopoDistanceDataI.H.
References distance_, edgeTopoDistanceData(), mesh, and td().

|
inline |
Same (like operator==).
Definition at line 149 of file edgeTopoDistanceDataI.H.
References edgeTopoDistanceData(), Foam::operator==(), Foam::rhs(), and td().

|
inline |
Definition at line 162 of file edgeTopoDistanceDataI.H.
References data(), Foam::distance(), operator, and Foam::rhs().

|
inline |
Definition at line 172 of file edgeTopoDistanceDataI.H.
References operator, and Foam::rhs().

|
friend |
References edgeTopoDistanceData().
Referenced by operator!=(), and operator==().
|
friend |
References edgeTopoDistanceData().
|
protected |
Distance.
Definition at line 81 of file edgeTopoDistanceData.H.
Referenced by distance(), edgeTopoDistanceData(), edgeTopoDistanceData(), updateEdge(), updateEdge(), updateFace(), and valid().
|
protected |
Starting data.
Definition at line 86 of file edgeTopoDistanceData.H.
Referenced by data(), edgeTopoDistanceData(), edgeTopoDistanceData(), and updateEdge().