38 #ifndef cellCellStencils_cellVolumeWeight_H 39 #define cellCellStencils_cellVolumeWeight_H 48 namespace cellCellStencils
119 const label subZoneID,
123 const label donorZoneID,
127 const labelList& interpolatedOtherPatchTypes,
208 const_cast<cellVolumeWeight&
>(*this).update();
scalar overlapTolerance_
Tolerance for volume overlap. Fraction of volume.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void stencilWeights(const point &sample, const pointList &donorCcs, scalarList &weights) const
Calculate inverse distance weights for a single acceptor. Revert.
void combineCellTypes(const label subZoneID, const fvMesh &subMesh, const labelList &subCellMap, const label donorZoneID, const labelListList &toOtherCells, const List< scalarList > &weights, const labelList &otherCells, const labelList &interpolatedOtherPatchTypes, labelListList &allStencil, scalarListList &allWeights, labelList &allCellTypes, labelList &allDonorID) const
wordList patchTypes(nPatches)
const bool allowInterpolatedDonors_
Allow interpolared as donors.
virtual bool update()
Update stencils. Return false if nothing changed.
void findHoles(const globalIndex &globalCells, const fvMesh &mesh, const labelList &zoneID, const labelListList &stencil, labelList &cellTypes) const
Find cells next to cells of type PATCH.
List< labelList > labelListList
List of labelList.
virtual const mapDistribute & cellInterpolationMap() const
Return a communication schedule.
virtual const labelListList & cellStencil() const
Per interpolated cell the neighbour cells (in terms of slots as.
const dictionary dict_
Dictionary of motion control parameters.
volScalarField cellInterpolationWeight_
Amount of interpolation.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
autoPtr< mapDistribute > cellInterpolationMap_
Fetch interpolated cells.
labelList interpolationCells_
Indices of interpolated cells.
Calculation of interpolation stencils.
virtual const labelUList & interpolationCells() const
Indices of interpolated cells.
List< scalarList > cellInterpolationWeights_
Interpolation weights.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
labelListList cellStencil_
Interpolation stencil.
void interpolatePatchTypes(const labelListList &addressing, const labelList &patchTypes, labelList &result) const
interpolate (= combine) patch types
labelList cellTypes_
Per cell the cell type.
const labelIOList & zoneID() const
Helper: get reference to registered zoneID. Loads volScalarField.
Volume-weighted interpolation stencil.
scalar overlapTolerance() const
Access to volume overlap tolerance.
static scalar defaultOverlapTolerance_
Default overlap tolerance. Fraction of volume.
virtual const List< scalarList > & cellInterpolationWeights() const
Weights for cellStencil.
Mesh data needed to do the Finite Volume discretisation.
virtual const labelUList & cellTypes() const
Return the cell type list.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual const scalarList & cellInterpolationWeight() const
Per interpolated cell the interpolation factor. (0 = use.
void markPatchCells(const fvMesh &mesh, const labelList &cellMap, labelList &patchCellTypes) const
according to additionalDocumentation/MEJ_oversetMesh.txt
TypeName("cellVolumeWeight")
Runtime type information.
virtual ~cellVolumeWeight()
Destructor.