37 #ifndef cellCellStencils_trackingInverseDistance_H 38 #define cellCellStencils_trackingInverseDistance_H 48 class voxelMeshSearch;
50 namespace cellCellStencils
136 TypeName(
"trackingInverseDistance");
Inverse-distance-weighted interpolation stencil.
Inverse-distance-weighted interpolation stencil.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
labelList globalDonor_
Current (global) donor cell.
globalIndex globalCells_
Global indexing for cells.
wordList patchTypes(nPatches)
PtrList< fvMeshSubset > meshParts_
Subset according to zone.
A bounding box defined in terms of min/max extrema points.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
void markPatchesAsHoles(PstreamBuffers &pBufs, const List< treeBoundBoxList > &patchBb, const List< labelVector > &patchDivisions, const PtrList< PackedList< 2 >> &patchParts, const label srcI, const label tgtI, labelList &allCellTypes) const
Mark all cells overlapping (a voxel covered by) a src patch.
TypeName("trackingInverseDistance")
Runtime type information.
virtual bool update()
Update stencils. Return false if nothing changed.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void markDonors(PstreamBuffers &pBufs, const List< treeBoundBoxList > &meshBb, const PtrList< voxelMeshSearch > &meshSearches, const labelList &allCellTypes, const label srcI, const label tgtI, labelListList &allStencil, labelList &allDonor) const
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Mesh data needed to do the Finite Volume discretisation.
virtual ~trackingInverseDistance()
Destructor.
List< treeBoundBox > meshBb(1, treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3))
static bool markBoundaries(const fvMesh &mesh, const vector &smallVec, const boundBox &bb, labelVector &nDivs, PackedList< 2 > &patchTypes, const labelList &cellMap, labelList &patchCellTypes)
Mark voxels of patchTypes with type of patch face.