11#ifndef vtkDGInterpolateCalculator_h
12#define vtkDGInterpolateCalculator_h
21VTK_ABI_NAMESPACE_BEGIN
26class vtkTypeInt64Array;
43 double neighborhood)
override;
55 template <
bool UseShape>
A function defined over the physical domain of a vtkCellGrid.
Shape
All possible shapes for DG cells.
@ None
A placeholder for an indeterminate or invalid shape.
Calculate field values at a point in a cell's parametric space.
void EvaluateDerivative(vtkIdTypeArray *cellIds, vtkDataArray *rst, vtkDataArray *result) override
Subclasses may override this method to perform multiple derivative-evaluations at a time.
void EvaluateDerivative(vtkIdType cellId, const vtkVector3d &rst, std::vector< double > &jacobian, double neighborhood) override
Return the derivative of the function at rst.
bool AnalyticDerivative() const override
Return true if the function has an analytic derivative.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDGInterpolateCalculator * New()
vtkDGInterpolateCalculator()=default
void Evaluate(vtkIdTypeArray *cellIds, vtkDataArray *rst, vtkDataArray *result) override
Subclasses may override this method to perform multiple evaluations at a time.
vtkSmartPointer< vtkDataArray > ShapeValues
void InternalDerivative(vtkIdType cellId, const vtkVector3d &rst, std::vector< double > &jacobian, double neighborhood)
vtkDGOperatorEntry ShapeBasisOp
The shape-basis operators (if any are needed).
vtkSmartPointer< vtkDataArray > FieldConnectivity
Array pointers populated by PrepareForGrid.
void Evaluate(vtkIdType cellId, const vtkVector3d &rst, std::vector< double > &value) override
Subclasses may override this method to perform multiple evaluations at a time.
vtkDGOperatorEntry FieldGradientOp
vtkSmartPointer< vtkDataArray > ShapeConnectivity
vtkCellAttribute::CellTypeInfo FieldCellInfo
The function space, basis, etc.
vtkCellAttribute::CellTypeInfo ShapeCellInfo
The function space, basis, etc. of the shape attribute.
vtkDGOperatorEntry ShapeGradientOp
~vtkDGInterpolateCalculator() override=default
vtkSmartPointer< vtkCellAttributeCalculator > PrepareForGrid(vtkCellMetadata *cell, vtkCellAttribute *field) override
vtkDGOperatorEntry FieldBasisOp
The basis-function operator to use.
vtkSmartPointer< vtkDataArray > FieldValues
A record for a basis in a function space that is specific to one cell shape.
Compute the range of a cell-attribute over any vtkDGCell.
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Calculate field values at a point in a cell's parametric space.
Hold a reference to a vtkObjectBase instance.