35 #ifndef Foam_cellCellStencilObject_H 36 #define Foam_cellCellStencilObject_H 86 mesh.schemesDict().subDict
88 "oversetInterpolation" 108 return stencilPtr_().update();
114 return stencilPtr_().cellTypes();
120 return stencilPtr_().interpolationCells();
126 return stencilPtr_().cellInterpolationMap();
133 return stencilPtr_().cellStencil();
139 return stencilPtr_().cellInterpolationWeights();
146 return stencilPtr_().cellInterpolationWeight();
157 stencilPtr_().stencilWeights(sample, donorCcs, weights);
164 return stencilPtr_().nonInterpolatedFields();
virtual const scalarList & cellInterpolationWeight() const
Per interpolated cell the interpolation factor. (0 = use.
virtual const labelUList & interpolationCells() const
Indices of interpolated cells.
static const Type & New(const Mesh &mesh, Args &&... args)
Get existing or create MeshObject registered with typeName.
TypeName("cellCellStencilObject")
MeshObject< fvMesh, MoveableMeshObject, cellCellStencilObject > Stencil
virtual const labelUList & cellTypes() const
Return the cell type list.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
Calculation of interpolation stencils.
const Mesh & mesh() const noexcept
Reference to the mesh.
virtual const labelListList & cellStencil() const
Per interpolated cell the neighbour cells (in terms of slots as.
virtual ~cellCellStencilObject()=default
Destructor.
virtual const List< scalarList > & cellInterpolationWeights() const
Weights for cellStencil.
cellCellStencilObject(const fvMesh &mesh, const bool update=true)
Construct with mesh.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual bool update()
Update stencils. Return false if nothing changed.
virtual void stencilWeights(const point &sample, const pointList &donorCcs, scalarList &weights) const
Calculate weights for a single acceptor.
Class containing processor-to-processor mapping information.
Mesh data needed to do the Finite Volume discretisation.
virtual const mapDistribute & cellInterpolationMap() const
Return a communication schedule.
virtual bool movePoints()
Callback for geometry motion.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual const wordHashSet & nonInterpolatedFields() const
Return the names of any (stencil or mesh specific) fields that.