Go to the documentation of this file.
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 updateEdge(const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgeCollapse &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
bool equal(const pointEdgeCollapse &, TrackingData &) const
Test for equality, with TrackingData.
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to origin.
friend Ostream & operator<<(Ostream &, const pointEdgeCollapse &)
void enterDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
Istream & operator>>(Istream &, directionInfo &)
friend Istream & operator>>(Istream &, pointEdgeCollapse &)
Mesh consisting of general polyhedral cells.
Determines length of string of edges walked to point.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
label collapsePriority() const
bool operator==(const pointEdgeCollapse &) const
Test for equality.
pointEdgeCollapse()
Default construct.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
const point & collapsePoint() const
bool operator!=(const pointEdgeCollapse &) const
Test for inequality.
void leaveDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point.
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,...
bool updatePoint(const polyMesh &mesh, const label pointi, const label edgeI, const pointEdgeCollapse &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
A template class to specify that a data type can be considered as being contiguous in memory.
dimensionedScalar pos(const dimensionedScalar &ds)
label collapseIndex() const