45 #ifndef ROL_SAMPLEDVECTOR_H 46 #define ROL_SAMPLEDVECTOR_H 56 std::vector<ROL::Ptr<Vector<Real> > >
vectors_;
62 void reset(
const bool flag =
true) {
64 typename std::map<std::vector<Real>,
int>::iterator it;
66 flags_[it->second] =
false;
83 void update(
const bool flag =
true) {
91 const std::vector<Real> ¶m) {
96 typename std::map<std::vector<Real>,
int>::iterator it
106 std::pair<std::vector<Real>,
int>(param, index));
117 const std::vector<Real> ¶m) {
121 typename std::map<std::vector<Real>,
int>::iterator it
129 std::pair<std::vector<Real>,
int>(param, index));
void reset(const bool flag=true)
std::vector< ROL::Ptr< Vector< Real > > > vectors_
Defines the linear algebra or vector space interface.
SampledVector(void)
Constructor.
std::vector< bool > flags_
std::map< std::vector< Real >, int > indices_
void update(const bool flag=true)
Update for SampledVector storage.