49 #ifndef INTREPID_CUBATURE_GEN_SPARSE_HPP
50 #define INTREPID_CUBATURE_GEN_SPARSE_HPP
52 #include "Intrepid_ConfigDefs.hpp"
55 #include "Intrepid_CubatureSparseHelper.hpp"
56 #include "Teuchos_Assert.hpp"
62 #define INTREPID_CUBATURE_GENSPARSE_GAUSS_MAX 17
68 template<
class Scalar,
int dimension_,
class ArrayPo
int=FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int>
93 ArrayWeight & cubWeights)
const;
103 ArrayWeight& cubWeights,
104 ArrayPoint& cellCoords)
const;
117 virtual void getAccuracy(std::vector<int> & accuracy)
const;
122 template<
class Scalar>
123 inline Scalar Sum(Scalar* list,
int first,
int last)
126 for(
int i = first; i <= last; i++)
140 #if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
142 #warning "The Intrepid package is deprecated"
virtual int getNumPoints() const
Returns the number of cubature points.
Header file for the Intrepid::CubatureDirectLineGauss class.
virtual void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
virtual void getAccuracy(std::vector< int > &accuracy) const
Returns algebraic accuracy (e.g. max. degree of polynomial that is integrated exactly).
Definition file for the Intrepid::CubatureGenSparse class.
Defines the base class for cubature (integration) rules in Intrepid.
virtual int getDimension() const
Returns dimension of the integration domain.
Header file for the Intrepid::Cubature class.