39 #ifndef pointEdgeCollapse_H 40 #define pointEdgeCollapse_H 53 class pointEdgeCollapse;
55 Istream&
operator>>(Istream&, pointEdgeCollapse&);
56 Ostream&
operator<<(Ostream&,
const pointEdgeCollapse&);
73 label collapsePriority_;
79 template<
class TrackingData>
88 inline bool samePoint(
const point& pt)
const;
112 return collapsePoint_;
117 return collapseIndex_;
122 return collapsePriority_;
129 template<
class TrackingData>
130 inline bool valid(TrackingData& td)
const;
134 template<
class TrackingData>
138 const label patchPointi,
144 template<
class TrackingData>
148 const label patchPointi,
154 template<
class TrackingData>
162 template<
class TrackingData>
175 template<
class TrackingData>
187 template<
class TrackingData>
196 template<
class TrackingData>
208 template<
class TrackingData>
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
pointEdgeCollapse()
Default construct.
bool operator!=(const pointEdgeCollapse &) const
Test for inequality.
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to origin.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgeCollapse &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
dimensionedScalar pos(const dimensionedScalar &ds)
const point & collapsePoint() const
friend Istream & operator>>(Istream &, pointEdgeCollapse &)
Istream & operator>>(Istream &, directionInfo &)
void enterDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
friend Ostream & operator<<(Ostream &, const pointEdgeCollapse &)
label collapseIndex() const
void leaveDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point.
label collapsePriority() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool equal(const pointEdgeCollapse &, TrackingData &) const
Test for equality, with TrackingData.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
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.
Determines length of string of edges walked to point.
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 operator==(const pointEdgeCollapse &) const
Test for equality.
bool updatePoint(const polyMesh &mesh, const label pointi, const label edgeI, const pointEdgeCollapse &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.