37 #ifndef PatchEdgeFaceWave_H 38 #define PatchEdgeFaceWave_H 66 class PrimitivePatchType,
68 class TrackingData =
label 72 public PatchEdgeFaceWaveName
79 static scalar propagationTol_;
83 static label dummyTrackData_;
92 const PrimitivePatchType& patch_;
119 label nUnvisitedEdges_;
120 label nUnvisitedFaces_;
136 const label neighbourFacei,
137 const Type& neighbourInfo,
146 const label neighbourEdgeI,
147 const Type& neighbourInfo,
168 return propagationTol_;
174 propagationTol_ = tol;
188 const PrimitivePatchType& patch,
194 TrackingData& td = dummyTrackData_
202 const PrimitivePatchType& patch,
205 TrackingData& td = dummyTrackData_
224 const TrackingData&
data()
const 264 class PrimitivePatchType,
266 class TrackingData =
int 272 const PrimitivePatchType& patch_;
280 const PrimitivePatchType& patch,
291 void operator()(Type&
x,
const Type&
y)
const 295 x.updateEdge(mesh_, patch_, y,
true, tol_, td_);
304 class PrimitivePatchType,
306 class TrackingData =
int 312 const PrimitivePatchType& patch_;
320 const PrimitivePatchType& patch,
342 fld[i].transform(mesh_, patch_, vt.R(), tol_, td_);
349 fld[i].transform(mesh_, patch_, vt.R().T(), tol_, td_);
TemplateName(blendedSchemeBase)
UList< Type > & allFaceInfo() const
Access allFaceInfo.
#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.
const TrackingData & data() const
Additional data to be passed into container.
label getUnsetFaces() const
Get number of unvisited faces, i.e. faces that were not (yet)
static void setPropagationTol(const scalar tol)
Change tolerance.
Wave propagation of information along patch. Every iteration information goes through one layer of fa...
label faceToEdge()
Propagate from face to edge. Returns total number of edges.
UList< Type > & allEdgeInfo() const
Access allEdgeInfo.
label edgeToFace()
Propagate from edge to face. Returns total number of faces.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
label iterate(const label maxIter)
Iterate until no changes or maxIter reached. Returns actual.
static scalar propagationTol()
Access to tolerance.
void setEdgeInfo(const labelList &changedEdges, const List< Type > &changedEdgesInfo)
Copy initial data into allEdgeInfo_.
label getUnsetEdges() const
Mesh consisting of general polyhedral cells.