44 #ifndef STOKHOS_ANISOSPARSEGRIDQUADRATURE
45 #define STOKHOS_ANISOSPARSEGRIDQUADRATURE
48 #ifdef HAVE_STOKHOS_DAKOTA
53 #include "pecos_global_defs.hpp"
66 template <
typename ordinal_type,
typename value_type>
67 class AnisoSparseGridQuadrature :
public Quadrature<ordinal_type,value_type> {
77 AnisoSparseGridQuadrature(
78 const Teuchos::RCP<
const ProductBasis<ordinal_type,value_type> >& product_basis,
82 ordinal_type growth_rate = Pecos::MODERATE_RESTRICTED_GROWTH);
85 virtual ~AnisoSparseGridQuadrature() {}
93 getQuadPoints()
const;
100 getQuadWeights()
const;
108 getBasisAtQuadPoints()
const;
113 AnisoSparseGridQuadrature(
const AnisoSparseGridQuadrature&);
116 AnisoSparseGridQuadrature& operator=(
const AnisoSparseGridQuadrature& b);
118 static void getMyPoints(
int order,
int dim,
double x[] );
120 static void getMyWeights(
int order,
int dim,
double w[] );
137 static AnisoSparseGridQuadrature *sgq;
144 #endif // HAVE_STOKHOS_DAKOTA
146 #endif // STOKHOS_ANISOSPARSEGRIDQUADRATURE