Go to the documentation of this file.
61 #ifndef PointEdgeWave_H
62 #define PointEdgeWave_H
88 template<
class Type,
class TrackingData =
int>
91 public PointEdgeWaveName
98 static scalar propagationTol_;
101 static int dummyTrackData_;
125 label nChangedPoints_;
131 label nChangedEdges_;
134 label nCyclicPatches_;
140 label nUnvisitedPoints_;
141 label nUnvisitedEdges_;
175 const label neighbourEdgeI,
176 const Type& neighbourInfo,
185 const Type& neighbourInfo,
194 const label neighbourPointi,
195 const Type& neighbourInfo,
203 template<
class PatchType>
204 label countPatchType()
const;
207 void handleProcPatches();
210 void handleCyclicPatches();
213 label handleCollocatedPoints();
230 return propagationTol_;
236 propagationTol_ = tol;
255 TrackingData& td = dummyTrackData_
265 TrackingData& td = dummyTrackData_
278 return allPointInfo_;
288 const TrackingData&
data()
const
319 label
iterate(
const label maxIter);
330 template<
class Type,
class TrackingData =
int>
353 x[i].updatePoint(
y[i], tol_, td_);
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
label pointToEdge()
Propagate from point to edge. Returns total number of edges.
void setPointInfo(const labelList &changedPoints, const List< Type > &changedPointsInfo)
Copy initial data into allPointInfo_.
listUpdateOp(const scalar tol, TrackingData &td)
label nUnvisitedEdges() const
Number of unvisited edges, i.e. edges that were not (yet)
Wave propagation of information through grid. Every iteration information goes through one layer of e...
static scalar propagationTol()
Access to tolerance.
UList< Type > & allPointInfo() const
Access allPointInfo.
label nUnvisitedPoints() const
label edgeToPoint()
Propagate from edge to point. Returns total number of points.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
label iterate(const label maxIter)
Iterate until no changes or maxIter reached. Returns actual.
A patch is a list of labels that address the faces in the global face list.
TemplateName(blendedSchemeBase)
const TrackingData & data() const
Additional data to be passed into container.
const std::string patch
OpenFOAM patch number as a std::string.
UList< Type > & allEdgeInfo() const
Access allEdgeInfo.
void operator()(List< Type > &x, const List< Type > &y) const
~PointEdgeWave()=default
Destructor.
static void setPropagationTol(const scalar tol)
Change tolerance.