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