Go to the documentation of this file.
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>
230 template<
class Type,
class PrimitivePatchType>
bool equal(const edgeTopoDistanceData< Type, PrimitivePatchType > &, TrackingData &) const
Same (like operator==)
edgeTopoDistanceData()
Construct null with invalid (-1) for distance, null constructor.
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.
Mesh consisting of general polyhedral cells.
A template class to specify if a data type is composed solely of Foam::label elements.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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.
For use with PatchEdgeFaceWave. Determines topological distance to starting edges....
void transform(const polyMesh &mesh, const PrimitivePatchType &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
A template class to specify if a data type is composed solely of Foam::scalar elements.
const std::string patch
OpenFOAM patch number as a std::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Type & data() const
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.