42#ifndef marchingCells_H
43#define marchingCells_H
133 marchingCells(
const marchingCells&) =
delete;
136 void operator=(
const marchingCells&) =
delete;
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Wave propagation of information through grid. Every iteration information goes through one layer of c...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
FaceCellWave< wallPointData< bool > > meshWave_
Engine propagating the active cells.
List< wallPointData< bool > > allFaceInfo_
Information for all faces.
virtual ~marchingCells()=default
Destructor.
void appendSeedCell(const label cellID)
Append cell to seed cells.
List< wallPointData< bool > > allCellInfo_
Information for all cells.
void initialise()
Initialise the active cells from the seeding patches.
labelList addedCells_
Which are the added cells.
void setMarchingStep(const label step)
Set marching step.
bool initialised_
Has the initial seeding been conducted.
label nIters_
Iterations conducted thus far.
label numberOfAddedCells() const
Number of newly added cells in the last iteration.
boolList isFixedCell_
Should this cell remain incative.
label marchingStep_
Marching step.
const labelList & getActiveCells() const
Get the active cells.
boolList isActiveCell_
Whether each cell is curently active or not.
void addFixedCells(const cellZoneMesh &cellZoneMesh, const labelList &fixedCellZoneIDs)
Add fixed cells through cellZone IDs.
labelList seedFaceZoneIDs_
Face zones used as seeds in the marching algorithm.
DynamicList< label > activeCells_
Which are the active cells.
TypeName("marchingCells")
Runtime type information.
labelHashSet seedPatches_
Patches used as seeds in the marching algorithm.
void march(label nVisited, const label cI, labelList &newlyAddedCells)
labelList seedCellZoneIDs_
Cell zones, the boundary faces of which are used as seeds in the marching algorithm.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
ZoneMesh< cellZone, polyMesh > cellZoneMesh
A ZoneMesh with cellZone content on a polyMesh.
List< bool > boolList
A List of bools.
loopControl iters(runTime, aMesh.solutionDict(), "solution")
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.