49 #ifndef INTREPID_CUBATURE_HPP
50 #define INTREPID_CUBATURE_HPP
52 #include "Intrepid_ConfigDefs.hpp"
69 template<
class Scalar,
class ArrayPo
int = FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int>
87 ArrayWeight & cubWeights)
const = 0;
97 ArrayWeight & cubWeights,
98 ArrayPoint & cellVertices)
const = 0;
119 virtual void getAccuracy(std::vector<int> & accuracy)
const = 0;
127 #if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
129 #warning "The Intrepid package is deprecated"
Header file for utility class to provide multidimensional containers.
Contains definitions of custom data types in Intrepid.
virtual void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const =0
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
virtual int getNumPoints() const =0
Returns the number of cubature points.
Defines the base class for cubature (integration) rules in Intrepid.
virtual void getAccuracy(std::vector< int > &accuracy) const =0
Returns algebraic accuracy (e.g. max. degree of polynomial that is integrated exactly). For tensor-product or sparse rules, algebraic accuracy for each coordinate direction is returned.
virtual int getDimension() const =0
Returns dimension of the integration domain.