10 #ifndef STOKHOS_ANISOSPARSEGRIDQUADRATURE
11 #define STOKHOS_ANISOSPARSEGRIDQUADRATURE
14 #ifdef HAVE_STOKHOS_DAKOTA
19 #include "pecos_global_defs.hpp"
32 template <
typename ordinal_type,
typename value_type>
33 class AnisoSparseGridQuadrature :
public Quadrature<ordinal_type,value_type> {
43 AnisoSparseGridQuadrature(
44 const Teuchos::RCP<
const ProductBasis<ordinal_type,value_type> >& product_basis,
48 ordinal_type growth_rate = Pecos::MODERATE_RESTRICTED_GROWTH);
51 virtual ~AnisoSparseGridQuadrature() {}
59 getQuadPoints()
const;
66 getQuadWeights()
const;
74 getBasisAtQuadPoints()
const;
79 AnisoSparseGridQuadrature(
const AnisoSparseGridQuadrature&);
82 AnisoSparseGridQuadrature& operator=(
const AnisoSparseGridQuadrature& b);
84 static void getMyPoints(
int order,
int dim,
double x[] );
86 static void getMyWeights(
int order,
int dim,
double w[] );
103 static AnisoSparseGridQuadrature *sgq;
110 #endif // HAVE_STOKHOS_DAKOTA
112 #endif // STOKHOS_ANISOSPARSEGRIDQUADRATURE