28 #ifndef __vtkvmtkGaussQuadrature_h 29 #define __vtkvmtkGaussQuadrature_h 31 #include "vtkObject.h" 32 #include "vtkvmtkWin32Header.h" 35 #include "vtkDoubleArray.h" 43 vtkGetObjectMacro(QuadraturePoints,vtkDoubleArray);
44 vtkGetObjectMacro(QuadratureWeights,vtkDoubleArray);
46 vtkSetMacro(Order,
int);
47 vtkGetMacro(Order,
int);
51 return this->QuadraturePoints->GetNumberOfTuples();
56 return this->QuadraturePoints->GetTuple(
id);
61 this->QuadraturePoints->GetTuple(
id,quadraturePoint);
66 return this->QuadraturePoints->GetComponent(
id,c);
71 return this->QuadratureWeights->GetValue(
id);
74 void Initialize(vtkIdType cellType);
78 this->Initialize(cell->GetCellType());
81 void Initialize1DGauss();
82 void Initialize1DJacobi(
int alpha,
int beta);
vtkDoubleArray * QuadraturePoints
void GetQuadraturePoint(vtkIdType id, double *quadraturePoint)
double * GetQuadraturePoint(vtkIdType id)
Finite element quadrature rule; Approximation of the definite integral of a function, as a weighted sum of function values at specified points.
vtkDoubleArray * QuadratureWeights
int GetNumberOfQuadraturePoints()
double GetQuadratureWeight(vtkIdType id)
double GetQuadraturePoint(vtkIdType id, int c)
void Initialize(vtkCell *cell)