35 #ifndef vtkQuadratureSchemeDefinition_h 36 #define vtkQuadratureSchemeDefinition_h 38 #include "vtkCommonDataModelModule.h" 84 void Initialize(
int cellType,
86 int numberOfQuadraturePoints,
87 double *shapeFunctionWeights);
91 void Initialize(
int cellType,
93 int numberOfQuadraturePoints,
94 double *shapeFunctionWeights,
95 double *quadratureWeights);
126 int idx=quadraturePointId*this->NumberOfNodes;
127 return this->ShapeFunctionWeights+idx;
143 void ReleaseResources();
148 int SecureResources();
153 void SetShapeFunctionWeights(
const double *W);
158 void SetQuadratureWeights(
const double *W);
169 int NumberOfQuadraturePoints;
170 double *ShapeFunctionWeights;
171 double *QuadratureWeights;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Represents an XML element and those nested inside.
int GetQuadratureKey() const
Access to an alternative key.
int GetNumberOfQuadraturePoints() const
Get the number of quadrature points associated with the scheme.
An Elemental data type that holds a definition of a numerical quadrature scheme.
const double * GetShapeFunctionWeights() const
Get the array of shape function weights.
int GetCellType() const
Access the VTK cell type id.
int GetNumberOfNodes() const
Get the number of nodes associated with the interpolation.
a simple class to control print indentation
const double * GetQuadratureWeights() const
Access to the quadrature weights.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
friend VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, vtkObjectBase &o)
const double * GetShapeFunctionWeights(int quadraturePointId) const
Get the array of shape function weights associated with a single quadrature point.