40 #ifndef edgeTopoDistanceData_H 41 #define edgeTopoDistanceData_H 55 template<
class Type,
class PrimitivePatchType>
58 template<
class Type,
class PrimitivePatchType>
64 template<
class Type,
class PrimitivePatchType>
76 template<
class Type,
class PrimitivePatchType = indirectPrimitivePatch>
117 inline const Type&
data()
const 127 template<
class TrackingData>
128 inline bool valid(TrackingData& td)
const;
131 template<
class TrackingData>
135 const PrimitivePatchType&
patch,
142 template<
class TrackingData>
146 const PrimitivePatchType&
patch,
155 template<
class TrackingData>
159 const PrimitivePatchType&
patch,
161 const bool sameOrientation,
167 template<
class TrackingData>
171 const PrimitivePatchType&
patch,
180 template<
class TrackingData>
191 inline bool operator==
195 inline bool operator!=
203 friend Ostream& operator<< <Type, PrimitivePatchType>
208 friend Istream&
operator>> <Type, PrimitivePatchType>
220 template<
class Type,
class PrimitivePatchType>
225 template<
class Type,
class PrimitivePatchType>
226 struct is_contiguous_label<edgeTopoDistanceData<Type, PrimitivePatchType>> :
227 is_contiguous_label<Type> {};
230 template<
class Type,
class PrimitivePatchType>
231 struct is_contiguous_scalar<edgeTopoDistanceData<Type, PrimitivePatchType>> :
232 is_contiguous_scalar<Type>{};
void transform(const polyMesh &mesh, const PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Database for solution data, solver performance and other reduced data.
A template class to specify that a data type can be considered as being contiguous in memory...
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
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.