Go to the documentation of this file.
34 #ifndef vtkQuadratureSchemeDefinition_h
35 #define vtkQuadratureSchemeDefinition_h
74 int numberOfQuadraturePoints,
75 double *shapeFunctionWeights);
81 int numberOfQuadraturePoints,
82 double *shapeFunctionWeights,
83 double *quadratureWeights);
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;
static vtkInformationQuadratureSchemeDefinitionVectorKey * DICTIONARY()
friend istream & operator>>(istream &s, vtkQuadratureSchemeDefinition &d)
const double * GetQuadratureWeights() const
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
int DeepCopy(const vtkQuadratureSchemeDefinition *other)
friend ostream & operator<<(ostream &s, const vtkQuadratureSchemeDefinition &d)
static vtkQuadratureSchemeDefinition * New()
int GetNumberOfNodes() const
static vtkInformationStringKey * QUADRATURE_OFFSET_ARRAY_NAME()
int GetNumberOfQuadraturePoints() const
int GetQuadratureKey() const
const double * GetShapeFunctionWeights() const
a simple class to control print indentation
Represents an XML element and those nested inside.
CellTypeInDataSet cellType(vtkDataSet *input)
vtkQuadratureSchemeDefinition()
void Initialize(int cellType, int numberOfNodes, int numberOfQuadraturePoints, double *shapeFunctionWeights)
~vtkQuadratureSchemeDefinition()
void PrintSelf(ostream &os, vtkIndent indent)
int SaveState(vtkXMLDataElement *e)
const double * GetShapeFunctionWeights(int quadraturePointId) const
#define VTKCOMMONDATAMODEL_EXPORT
int RestoreState(vtkXMLDataElement *e)
void Initialize(int cellType, int numberOfNodes, int numberOfQuadraturePoints, double *shapeFunctionWeights, double *quadratureWeights)