35 #ifndef cellCellStencilObject_H 36 #define cellCellStencilObject_H 93 mesh.schemesDict().subDict
95 "oversetInterpolation" 112 return stencilPtr_().update();
118 return stencilPtr_().update();
124 return stencilPtr_().cellTypes();
130 return stencilPtr_().interpolationCells();
136 return stencilPtr_().cellInterpolationMap();
143 return stencilPtr_().cellStencil();
149 return stencilPtr_().cellInterpolationWeights();
156 return stencilPtr_().cellInterpolationWeight();
167 stencilPtr_().stencilWeights(sample, donorCcs, weights);
174 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.
MeshObject< fvMesh, Foam::MoveableMeshObject, cellCellStencilObject > Stencil
virtual bool movePoints()
Callback for geometry motion.
static const Type & New(const Mesh &mesh, Args &&... args)
Get existing or create a new MeshObject. Registered with typeName.
TypeName("cellCellStencilObject")
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.
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.