34 #ifndef vtkQuadratureSchemeDefinition_h
35 #define vtkQuadratureSchemeDefinition_h
37 #include "vtkCommonDataModelModule.h"
72 void Initialize(
int cellType,
74 int numberOfQuadraturePoints,
75 double *shapeFunctionWeights);
79 void Initialize(
int cellType,
81 int numberOfQuadraturePoints,
82 double *shapeFunctionWeights,
83 double *quadratureWeights);
101 const double *GetShapeFunctionWeights(
int quadraturePointId)
const
103 int idx=quadraturePointId*this->NumberOfNodes;
104 return this->ShapeFunctionWeights+idx;
116 void ReleaseResources();
118 int SecureResources();
121 void SetShapeFunctionWeights(
const double *W);
124 void SetQuadratureWeights(
const double *W);
135 int NumberOfQuadraturePoints;
136 double *ShapeFunctionWeights;
137 double *QuadratureWeights;