35 #ifndef Foam_cellCellStencilObject_H 36 #define Foam_cellCellStencilObject_H 57 public MeshObject<fvMesh, MoveableMeshObject, cellCellStencilObject>,
97 mesh.schemesDict().subDict
99 "oversetInterpolation" 116 return stencilPtr_().update();
122 return stencilPtr_().update();
128 return stencilPtr_().cellTypes();
134 return stencilPtr_().interpolationCells();
140 return stencilPtr_().cellInterpolationMap();
147 return stencilPtr_().cellStencil();
153 return stencilPtr_().cellInterpolationWeights();
160 return stencilPtr_().cellInterpolationWeight();
171 stencilPtr_().stencilWeights(sample, donorCcs, weights);
178 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.
MoveableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
virtual bool movePoints()
Callback for geometry motion.
TypeName("cellCellStencilObject")
static autoPtr< cellCellStencil > New(const fvMesh &, const dictionary &dict, const bool update=true)
New function which constructs and returns pointer to a.
MeshObject< fvMesh, MoveableMeshObject, cellCellStencilObject > Stencil
virtual const labelUList & cellTypes() const
Return the cell type list.
Calculation of interpolation stencils.
const fvMesh & 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.