40#ifndef edgeTopoDistanceData_H
41#define edgeTopoDistanceData_H
55template<
class Type,
class PrimitivePatchType>
56class edgeTopoDistanceData;
58template<
class Type,
class PrimitivePatchType>
64template<
class Type,
class PrimitivePatchType>
76template<
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>
220template<
class Type,
class PrimitivePatchType>
225template<
class Type,
class PrimitivePatchType>
230template<
class Type,
class PrimitivePatchType>
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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.
For use with PatchEdgeFaceWave. Determines topological distance to starting edges....
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.
void transform(const polyMesh &mesh, const PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
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.
edgeTopoDistanceData()
Construct null with invalid (-1) for distance, null constructor.
const Type & data() const
bool equal(const edgeTopoDistanceData< Type, PrimitivePatchType > &, TrackingData &) const
Same (like operator==)
Mesh consisting of general polyhedral cells.
A template class to specify if a data type is composed solely of Foam::label elements.
A template class to specify if a data type is composed solely of Foam::scalar elements.
A template class to specify that a data type can be considered as being contiguous in memory.