34 template<
class Type,
class PrimitivePatchType>
43 template<
class Type,
class PrimitivePatchType>
58 template<
class Type,
class PrimitivePatchType>
59 template<
class TrackingData>
65 return distance_ != -1;
69 template<
class Type,
class PrimitivePatchType>
70 template<
class TrackingData>
74 const PrimitivePatchType&
patch,
82 template<
class Type,
class PrimitivePatchType>
83 template<
class TrackingData>
87 const PrimitivePatchType&
patch,
98 data_ = faceInfo.
data_;
107 template<
class Type,
class PrimitivePatchType>
108 template<
class TrackingData>
112 const PrimitivePatchType&
patch,
114 const bool sameOrientation,
122 this->operator=(edgeInfo);
130 template<
class Type,
class PrimitivePatchType>
131 template<
class TrackingData>
135 const PrimitivePatchType&
patch,
146 this->operator=(edgeInfo);
154 template<
class Type,
class PrimitivePatchType>
155 template<
class TrackingData>
168 template<
class Type,
class PrimitivePatchType>
178 template<
class Type,
class PrimitivePatchType>
184 return !(*
this == rhs);
void transform(const polyMesh &mesh, const PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
scalar distance(const vector &p1, const vector &p2)
const Type & data() const
edgeTopoDistanceData()
Construct null with invalid (-1) for distance, null constructor.
bool equal(const edgeTopoDistanceData< Type, PrimitivePatchType > &, TrackingData &) const
Same (like operator==)
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.
For use with PatchEdgeFaceWave. Determines topological distance to starting edges. Templated on passive transported data.
Database for solution data, solver performance and other reduced data.
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Tensor of scalars, i.e. Tensor<scalar>.
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.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.