47 #ifndef FaceCellWave_H 48 #define FaceCellWave_H 74 template<
class Type,
class TrackingData =
int>
77 public FaceCellWaveName
100 label nChangedFaces_;
105 label nChangedCells_;
108 const bool hasCyclicPatches_;
111 const bool hasCyclicAMIPatches_;
117 label nUnvisitedCells_;
118 label nUnvisitedFaces_;
135 const label neighbourFacei,
136 const Type& neighbourInfo,
146 const label neighbourCelli,
147 const Type& neighbourInfo,
157 const Type& neighbourInfo,
166 void checkCyclic(
const polyPatch& pPatch)
const;
169 template<
class PatchType>
170 bool hasPatch()
const;
182 label getChangedPatchFaces
185 const label startFacei,
227 void handleProcPatches();
230 void handleCyclicPatches();
233 void handleAMICyclicPatches();
238 static const scalar geomTol_;
239 static scalar propagationTol_;
243 static int dummyTrackData_;
253 return propagationTol_;
259 propagationTol_ = tol;
272 TrackingData& td = dummyTrackData_
286 TrackingData& td = dummyTrackData_
307 const TrackingData&
data()
const TemplateName(blendedSchemeBase)
const TrackingData & data() const
Additional data to be passed into container.
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.
void setFaceInfo(const labelList &changedFaces, const List< Type > &changedFacesInfo)
Set initial changed faces.
label cellToFace()
Propagate from cell to face. Returns total number of faces.
label getUnsetCells() const
Get number of unvisited cells, i.e. cells that were not (yet)
static scalar propagationTol()
Access to tolerance.
Wave propagation of information through grid. Every iteration information goes through one layer of c...
UList< Type > & allFaceInfo()
Access allFaceInfo.
Holds information regarding type of cell. Used in inside/outside determination in cellClassification...
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
static void setPropagationTol(const scalar tol)
Change tolerance.
UList< Type > & allCellInfo()
Access allCellInfo.
label getUnsetFaces() const
Get number of unvisited faces.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
const polyMesh & mesh() const
Access mesh.
label faceToCell()
Propagate from face to cell. Returns total number of cells.