Go to the documentation of this file.
38 #ifndef cellCellStencils_cellVolumeWeight_H
39 #define cellCellStencils_cellVolumeWeight_H
48 namespace cellCellStencils
98 const scalar layerRelax,
123 const label subZoneID,
127 const label donorZoneID,
131 const labelList& interpolatedOtherPatchTypes,
labelListList cellStencil_
labelList interpolationCells_
virtual const mapDistribute & cellInterpolationMap() const
virtual const List< scalarList > & cellInterpolationWeights() const
virtual ~cellVolumeWeight()
TypeName("cellVolumeWeight")
List< scalarList > cellInterpolationWeights_
virtual const labelUList & cellTypes() const
Volume-weighted interpolation stencil.
void markPatchCells(const fvMesh &mesh, const labelList &cellMap, labelList &patchCellTypes) const
wordList patchTypes(nPatches)
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
void interpolatePatchTypes(const labelListList &addressing, const labelList &patchTypes, labelList &result) const
Generic templated field type.
const labelIOList & zoneID() const
Class containing processor-to-processor mapping information.
void walkFront(const scalar layerRelax, labelList &allCellTypes, scalarField &allWeight) const
autoPtr< mapDistribute > cellInterpolationMap_
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.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
scalar overlapTolerance() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual const scalarList & cellInterpolationWeight() const
void findHoles(const globalIndex &globalCells, const fvMesh &mesh, const labelList &zoneID, const labelListList &stencil, labelList &cellTypes) const
virtual const labelUList & interpolationCells() const
Calculation of interpolation stencils.
static scalar defaultOverlapTolerance_
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual void stencilWeights(const point &sample, const pointList &donorCcs, scalarList &weights) const
Generic GeometricField class.
volScalarField cellInterpolationWeight_
Minimal example by using system/controlDict.functions:
virtual const labelListList & cellStencil() const