49 #ifndef INTREPID_ADAPTIVESPARSEGRID_HPP 
   50 #define INTREPID_ADAPTIVESPARSEGRID_HPP 
   63 template<
class Scalar, 
class UserVector>
 
   73               typename std::multimap<Scalar,std::vector<int> > & indexSet,
 
   74               UserVector & integralValue,
 
   86               typename std::multimap<Scalar,std::vector<int> > & activeIndex,
 
   87               std::set<std::vector<int> > & oldIndex,
 
   88               UserVector & integralValue,
 
   89               Scalar globalErrorIndicator,
 
  102               typename std::multimap<Scalar,std::vector<int> > & activeIndex,
 
  103               std::set<std::vector<int> > & oldIndex,
 
  104               UserVector & integralValue,
 
  106               Scalar globalErrorIndicator,
 
  131               std::vector<int> index,
 
  145               std::vector<int> index,
 
  147               std::vector<EIntrepidBurkardt> rule1D,
 
  148               std::vector<EIntrepidGrowth> growth1D,
 
  159               std::vector<int> index,
 
  161               std::set<std::vector<int> > inOldIndex,
 
  175               int dimension, 
int maxlevel,
 
  176               std::vector<EIntrepidBurkardt> rule1D,
 
  177               std::vector<EIntrepidGrowth> growth1D,
 
static void buildSparseGrid(CubatureTensorSorted< Scalar > &output, int dimension, int maxlevel, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, bool isNormalized)
Build a classic isotropic sparse grid. 
static Scalar refine_grid(typename std::multimap< Scalar, std::vector< int > > &indexSet, UserVector &integralValue, AdaptiveSparseGridInterface< Scalar, UserVector > &problem_data)
Update adaptive sparse grid. 
static void build_diffRule(CubatureTensorSorted< Scalar > &outRule, std::vector< int > index, AdaptiveSparseGridInterface< Scalar, UserVector > &problem_data)
Given an index, build the corresponding differential cubature rule. 
Builds general adaptive sparse grid rules (Gerstner and Griebel) using the 1D cubature rules in the I...
Header file for the Intrepid::AdaptiveSparseGridInterface class. 
static bool isAdmissible(std::vector< int > index, int direction, std::set< std::vector< int > > inOldIndex, AdaptiveSparseGridInterface< Scalar, UserVector > &problem_data)
Check admissibility of an index set, outputs true if admissible. 
Definition file for the Intrepid::AdaptiveSparseGrid class. 
Utilizes 1D cubature (integration) rules contained in the library sandia_rules (John Burkardt...