37#ifndef __vtkvmtkFEShapeFunctions_h
38#define __vtkvmtkFEShapeFunctions_h
41#include "vtkvmtkWin32Header.h"
44#include "vtkDoubleArray.h"
59 void Initialize(vtkCell* cell, vtkDoubleArray* pcoords);
65 double GetPhi(vtkIdType
id, vtkIdType i)
72 double*
GetDPhi(vtkIdType
id, vtkIdType i)
79 void GetDPhi(vtkIdType
id, vtkIdType i,
double* dphi)
86 double GetDPhi(vtkIdType
id, vtkIdType i,
int c)
101 static void GetInterpolationFunctions(vtkCell* cell,
double* pcoords,
double* sf);
109 static void GetInterpolationDerivs(vtkCell* cell,
double* pcoords,
double* derivs);
117 static double ComputeJacobian(vtkCell* cell,
double* pcoords);
123 static void ComputeInverseJacobianMatrix2D(vtkCell* cell,
double* pcoords,
double inverseJacobianMatrix[2][3]);
124 static void ComputeInverseJacobianMatrix3D(vtkCell* cell,
double* pcoords,
double inverseJacobianMatrix[3][3]);
Provides a set of common utility functions (calculate jacobian, interpolation function,...
void Initialize(vtkCell *cell, vtkDoubleArray *pcoords)
vtkIdType NumberOfCellPoints
void GetDPhi(vtkIdType id, vtkIdType i, double *dphi)
double GetDPhi(vtkIdType id, vtkIdType i, int c)
vtkvmtkFEShapeFunctions()
vtkDoubleArray * Jacobians
static vtkvmtkFEShapeFunctions * New()
double GetPhi(vtkIdType id, vtkIdType i)
double * GetDPhi(vtkIdType id, vtkIdType i)
double GetJacobian(vtkIdType i)