18 #ifndef vtkLagrangeInterpolation_h
19 #define vtkLagrangeInterpolation_h
21 #include "vtkCommonDataModelModule.h"
28 #define VTK_21_POINT_WEDGE true
41 static void EvaluateShapeFunctions(
const int order,
const double pcoord,
double* shape);
42 static void EvaluateShapeAndGradient(
43 const int order,
const double pcoord,
double* shape,
double* grad);
55 const double* fieldVals,
int fieldDim,
double* fieldDerivs)
override;
58 const int order[3],
const vtkIdType numberOfPoints,
const double* pcoords,
double* shape);
60 const int order[3],
const vtkIdType numberOfPoints,
const double* pcoords,
double* derivs);
63 double* fieldVals,
int fieldDim,
double* fieldAtPCoords)
override;
66 const double* fieldVals,
int fieldDim,
double* fieldDerivs)
override;
77 #endif // vtkLagrangeInterpolation_h
static int Tensor3ShapeDerivatives(const int order[3], const double *pcoords, double *derivs, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
static int Tensor3ShapeFunctions(const int order[3], const double *pcoords, double *shape, void(*function_evaluate_shape_functions)(int, double, double *))
a simple class to control print indentation
virtual void WedgeEvaluate(const int order[3], const vtkIdType numberOfPoints, const double *pcoords, double *fieldVals, int fieldDim, double *fieldAtPCoords)=0
virtual void WedgeEvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs)=0
Some derived classes for the different vectors commonly used.
static int Tensor2ShapeFunctions(const int order[2], const double *pcoords, double *shape, void(*function_evaluate_shape_functions)(int, double, double *))
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void WedgeShapeFunctions(const int order[3], const vtkIdType numberOfPoints, const double *pcoords, double *shape, vtkHigherOrderTriangle &tri, void(*function_evaluate_shape_functions)(int, double, double *))
static int Tensor2ShapeDerivatives(const int order[2], const double *pcoords, double *derivs, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
virtual void Tensor3EvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs)=0
static int Tensor1ShapeDerivatives(const int order[1], const double *pcoords, double *derivs, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
static void WedgeShapeDerivatives(const int order[3], const vtkIdType numberOfPoints, const double *pcoords, double *derivs, vtkHigherOrderTriangle &tri, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
static int Tensor1ShapeFunctions(const int order[1], const double *pcoords, double *shape, void(*function_evaluate_shape_functions)(int, double, double *))
represent and manipulate 3D points