11 #ifndef vtkDGInterpolateCalculator_h
12 #define vtkDGInterpolateCalculator_h
24 VTK_ABI_NAMESPACE_BEGIN
31 class vtkTypeInt64Array;
48 double neighborhood)
override;
60 template <
bool UseShape>
61 void InternalDerivative(
100 bool Initialized{
false };
127 VTK_ABI_NAMESPACE_END
128 #endif // vtkDGInterpolateCalculator_h
virtual vtkSmartPointer< vtkCellAttributeCalculator > PrepareForGrid(vtkCellMetadata *cell, vtkCellAttribute *field)
Subclasses should override this to create an instance of their class with member variables set to per...
Store values interpolated from DG cells into a vtkDoubleArray instance.
vtkSMPThreadLocal< ThreadLocalData > LocalData
static vtkCellAttributeCalculator * New()
Calculate field values at a point in a cell's parametric space.
vtkSmartPointer< vtkDoubleArray > LocalField
Used when an array passed to Evaluate()/EvaluateDerivative() is not a double-array.
vtkCellAttribute::CellTypeInfo FieldCellInfo
The function space, basis, etc.
vtkDGArraysInputAccessor InAccessor
dynamic, self-adjusting array of vtkIdType
dynamic, self-adjusting array of double
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkDoubleArray > VRst
vtkDGArrayOutputAccessor OutAccessor
a simple class to control print indentation
virtual void Evaluate(vtkIdType cellId, const vtkVector3d &rst, std::vector< double > &value)=0
Subclasses may override this method to perform multiple evaluations at a time.
vtkDGArraysInputAccessor DerInAccessor
vtkDGOperation< vtkDGArraysInputAccessor, vtkDGArrayOutputAccessor > FieldDerivative
Used to compute a field derivative for a cell.
vtkDGArrayOutputAccessor DerOutAccessor
A function defined over the physical domain of a vtkCellGrid.
abstract superclass for arrays of numeric data
vtkSmartPointer< vtkDoubleArray > DerResult
Calculate field values at a point in a cell's parametric space.
Base class for a discontinuous Galerkin cells of all shapes.
virtual bool AnalyticDerivative() const
Return true if the function has an analytic derivative.
vtkDGOperation< vtkDGArraysInputAccessor, vtkDGArrayOutputAccessor > FieldEvaluator
Used to compute a field value for a cell.
vtkSmartPointer< vtkDoubleArray > DerVRst
vtkSmartPointer< vtkDoubleArray > Result
vtkSmartPointer< vtkIdTypeArray > Ids
virtual void EvaluateDerivative(vtkIdType cellId, const vtkVector3d &rst, std::vector< double > &jacobian, double neighborhood=1e-3)
Return the derivative of the function at rst.
vtkSmartPointer< vtkIdTypeArray > DerIds
Shape
All possible shapes for DG cells.
Compute the range of a cell-attribute over any vtkDGCell.