Go to the documentation of this file.
18 #ifndef vtkLagrangeInterpolation_h
19 #define vtkLagrangeInterpolation_h
23 #include "vtkCommonDataModelModule.h"
28 #define VTK_21_POINT_WEDGE true
59 const double* pcoords,
61 const double* fieldVals,
78 const double* pcoords,
81 double* fieldAtPCoords);
85 const double* pcoords,
87 const double* fieldVals,
117 static int NumberOfIntervals(
const int order[N]);
136 for (
int n = 0; n < N; ++n)
143 #endif // vtkLagrangeInterpolation_h
represent and manipulate 3D points
static void AppendHexahedronCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[3])
static int Tensor2ShapeFunctions(const int order[2], const double *pcoords, double *shape)
vtkLagrangeInterpolation()
static void EvaluateShapeAndGradient(int order, double pcoord, double *shape, double *grad)
static void AppendQuadrilateralCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[2])
static void AppendWedgeCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[3])
static vtkVector2i GetVaryingParametersOfWedgeFace(int faceId)
static vtkVector2i GetPointIndicesBoundingWedgeEdge(int edgeId)
static vtkLagrangeInterpolation * New()
static vtkVector2i GetPointIndicesBoundingHexEdge(int edgeId)
static void WedgeShapeDerivatives(const int order[3], const vtkIdType numberOfPoints, const double *pcoords, double *derivs)
static vtkVector3d GetParametricWedgeCoordinates(int vertexId)
abstract base class for most VTK objects
static int GetVaryingParameterOfWedgeEdge(int edgeId)
static int NumberOfIntervals(const int order[N])
static vtkVector2i GetVaryingParametersOfHexFace(int faceId)
static int Tensor3ShapeFunctions(const int order[3], const double *pcoords, double *shape)
void WedgeEvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs)
static int Tensor1ShapeFunctions(const int order[1], const double *pcoords, double *shape)
int JacobianInverseWedge(vtkPoints *points, const double *derivs, double **inverse)
#define VTK_SIZEHINT(...)
std::vector< double > DerivSpace
a simple class to control print indentation
static int GetFixedParameterOfWedgeFace(int faceId)
static void EvaluateShapeFunctions(int order, double pcoord, double *shape)
static int Tensor2ShapeDerivatives(const int order[2], const double *pcoords, double *derivs)
std::vector< double > ShapeSpace
void PrepareForOrder(const int order[3], const vtkIdType numberOfPoints)
static int GetFixedParameterOfHexFace(int faceId)
static const int * GetEdgeIndicesBoundingHexFace(int faceId)
static int Tensor1ShapeDerivatives(const int order[1], const double *pcoords, double *derivs)
static const int * GetPointIndicesBoundingWedgeFace(int faceId)
int JacobianInverse(vtkPoints *points, const double *derivs, double **inverse)
Compute the inverse of the Jacobian and put the values in inverse.
static vtkVector2i GetFixedParametersOfWedgeEdge(int edgeId)
static vtkVector3d GetParametricHexCoordinates(int vertexId)
void WedgeEvaluate(const int order[3], const vtkIdType numberOfPoints, const double *pcoords, double *fieldVals, int fieldDim, double *fieldAtPCoords)
static void AppendCurveCollocationPoints(vtkSmartPointer< vtkPoints > &pts, const int order[1])
void Tensor3EvaluateDerivative(const int order[3], const double *pcoords, vtkPoints *points, const double *fieldVals, int fieldDim, double *fieldDerivs)
static void WedgeShapeFunctions(const int order[3], const vtkIdType numberOfPoints, const double *pcoords, double *shape)
~vtkLagrangeInterpolation() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkVector2i GetFixedParametersOfHexEdge(int edgeId)
static const int * GetPointIndicesBoundingHexFace(int faceId)
Some derived classes for the different vectors commonly used.
static int GetVaryingParameterOfHexEdge(int edgeId)
static int Tensor3ShapeDerivatives(const int order[3], const double *pcoords, double *derivs)
static const int * GetEdgeIndicesBoundingWedgeFace(int faceId)