Go to the documentation of this file.
60 #ifndef PointEdgeWave_H
61 #define PointEdgeWave_H
87 template<
class Type,
class TrackingData =
int>
90 public PointEdgeWaveName
97 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,
202 template<
class PatchType>
203 label countPatchType()
const;
206 void handleProcPatches();
209 void handleCyclicPatches();
212 label handleCollocatedPoints();
229 return propagationTol_;
235 propagationTol_ = tol;
254 TrackingData& td = dummyTrackData_
264 TrackingData& td = dummyTrackData_
277 return allPointInfo_;
287 const TrackingData&
data()
const
329 template<
class Type,
class TrackingData =
int>
351 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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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)
~PointEdgeWave()
Destructor.
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
static void setPropagationTol(const scalar tol)
Change tolerance.