44 #ifndef ROL_SPARSEGRIDGENERATOR_HPP
45 #define ROL_SPARSEGRIDGENERATOR_HPP
47 #include "Teuchos_RCP.hpp"
48 #include "Epetra_Comm.h"
67 Teuchos::RCP<Quadrature<Real> >
grid_;
77 bool isAdmissible(std::vector<int> &index,
int direction);
80 void splitSamples(std::vector<std::vector<Real> > &mypts, std::vector<Real> &mywts);
86 bool isNormalized =
true);
void splitSamples(std::vector< std::vector< Real > > &mypts, std::vector< Real > &mywts)
std::vector< int > index_
bool checkMaxLevel(std::vector< int > &index)
Defines the linear algebra or vector space interface.
void buildDiffRule(Quadrature< Real > &outRule, std::vector< int > &index)
bool isAdmissible(std::vector< int > &index, int direction)
std::multimap< Real, std::vector< int > > activeIndex_
Header file for the ROL::Quadrature class.
std::vector< EROLBurkardt > rule1D
Real computeError(std::vector< Real > &vals)
std::set< std::vector< int > > oldIndex_
SparseGridGenerator(Teuchos::RCP< BatchManager< Real > > &bman, SparseGridInfo &info, bool adaptive=false)
void updateSamples(Quadrature< Real > &grid)
Teuchos::RCP< Quadrature< Real > > grid_
void update(const Vector< Real > &x)
void setSamples(bool inConstructor=false)
std::vector< int > search_index_
std::vector< EROLGrowth > growth1D