6#ifndef vtkHigherOrderInterpolation_h
7#define vtkHigherOrderInterpolation_h
9#include "vtkCommonDataModelModule.h"
16#define VTK_21_POINT_WEDGE true
18VTK_ABI_NAMESPACE_BEGIN
32 void (*function_evaluate_shape_functions)(
int,
double,
double*));
34 void (*function_evaluate_shape_and_gradient)(
int,
double,
double*,
double*));
37 void (*function_evaluate_shape_functions)(
int,
double,
double*));
39 void (*function_evaluate_shape_and_gradient)(
int,
double,
double*,
double*));
42 void (*function_evaluate_shape_functions)(
int,
double,
double*));
44 void (*function_evaluate_shape_and_gradient)(
int,
double,
double*,
double*));
47 vtkPoints* points,
const double* fieldVals,
int fieldDim,
double* fieldDerivs) = 0;
50 const double* fieldVals,
int fieldDim,
double* fieldDerivs,
51 void (*function_evaluate_shape_and_gradient)(
int,
double,
double*,
double*));
55 void (*function_evaluate_shape_functions)(
int,
double,
double*));
58 void (*function_evaluate_shape_and_gradient)(
int,
double,
double*,
double*));
68 double* fieldVals,
int fieldDim,
double* fieldAtPCoords) = 0;
72 void (*function_evaluate_shape_functions)(
int,
double,
double*));
75 const double* fieldVals,
int fieldDim,
double* fieldDerivs) = 0;
79 void (*function_evaluate_shape_and_gradient)(
int,
double,
double*,
double*));
109 static int NumberOfIntervals(
const int order[N]);
129 for (
int n = 0; n < N; ++n)
int JacobianInverseWedge(vtkPoints *points, const double *derivs, double **inverse)
static const int * GetPointIndicesBoundingWedgeFace(int faceId)
static vtkVector2i GetFixedParametersOfWedgeEdge(int edgeId)
static void AppendCurveCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[1])
static const int * GetEdgeIndicesBoundingWedgeFace(int faceId)
std::vector< double > DerivSpace
static vtkVector2i GetVaryingParametersOfWedgeFace(int faceId)
static int Tensor1ShapeFunctions(const int order[1], const double *pcoords, double *shape, void(*function_evaluate_shape_functions)(int, double, double *))
static void AppendHexahedronCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[3])
static int Tensor3ShapeDerivatives(const int order[3], const double *pcoords, double *derivs, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
static int Tensor2ShapeDerivatives(const int order[2], const double *pcoords, double *derivs, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
static void WedgeShapeFunctions(const int order[3], vtkIdType numberOfPoints, const double *pcoords, double *shape, vtkHigherOrderTriangle &tri, void(*function_evaluate_shape_functions)(int, double, double *))
void WedgeEvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs, vtkHigherOrderTriangle &tri, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
vtkHigherOrderInterpolation()
static vtkVector2i GetPointIndicesBoundingHexEdge(int edgeId)
static vtkVector2i GetVaryingParametersOfHexFace(int faceId)
static void WedgeShapeDerivatives(const int order[3], vtkIdType numberOfPoints, const double *pcoords, double *derivs, vtkHigherOrderTriangle &tri, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
static int Tensor2ShapeFunctions(const int order[2], const double *pcoords, double *shape, void(*function_evaluate_shape_functions)(int, double, double *))
static int GetFixedParameterOfWedgeFace(int faceId)
void PrepareForOrder(const int order[3], vtkIdType numberOfPoints)
static const int * GetEdgeIndicesBoundingHexFace(int faceId)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static int NumberOfIntervals(const int order[N])
static const int * GetPointIndicesBoundingHexFace(int faceId)
static int GetVaryingParameterOfHexEdge(int edgeId)
void WedgeEvaluate(const int order[3], vtkIdType numberOfPoints, const double *pcoords, double *fieldVals, int fieldDim, double *fieldAtPCoords, vtkHigherOrderTriangle &tri, void(*function_evaluate_shape_functions)(int, double, double *))
static int GetVaryingParameterOfWedgeEdge(int edgeId)
virtual void WedgeEvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs)=0
static void AppendQuadrilateralCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[2])
std::vector< double > ShapeSpace
~vtkHigherOrderInterpolation() override
static vtkVector2i GetPointIndicesBoundingWedgeEdge(int edgeId)
static int Tensor1ShapeDerivatives(const int order[1], const double *pcoords, double *derivs, void(*function_evaluate_shape_and_gradient)(int, double, double *, double *))
virtual void WedgeEvaluate(const int order[3], vtkIdType numberOfPoints, const double *pcoords, double *fieldVals, int fieldDim, double *fieldAtPCoords)=0
int JacobianInverse(vtkPoints *points, const double *derivs, double **inverse)
Compute the inverse of the Jacobian and put the values in inverse.
static vtkVector3d GetParametricWedgeCoordinates(int vertexId)
static vtkVector2i GetFixedParametersOfHexEdge(int edgeId)
static int GetFixedParameterOfHexFace(int faceId)
static void AppendWedgeCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[3])
virtual void Tensor3EvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs)=0
static vtkVector3d GetParametricHexCoordinates(int vertexId)
void Tensor3EvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs, 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 2D cell that represents an arbitrary order HigherOrder triangle.
a simple class to control print indentation
abstract base class for most VTK objects
represent and manipulate 3D points
Hold a reference to a vtkObjectBase instance.
Some derived classes for the different vectors commonly used.
#define VTK_SIZEHINT(...)