45 #ifndef ROL_SIMCONTROLLER_H
46 #define ROL_SIMCONTROLLER_H
64 void reset(
const bool flag =
true) {
66 typename std::map<std::vector<Real>,
int>::iterator it;
68 flags_[it->second] =
false;
112 const std::vector<Real> ¶m) {
117 typename std::map<std::vector<Real>,
int>::iterator it
127 std::pair<std::vector<Real>,
int>(param, index));
138 const std::vector<Real> ¶m) {
142 typename std::map<std::vector<Real>,
int>::iterator it
150 std::pair<std::vector<Real>,
int>(param, index));
void reset(const bool flag=true)
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
void equalityConstraintUpdate(const bool flag=true)
Equality constraint update for SimController storage.
SimController(void)
Constructor.
void objectiveUpdate(const bool flag=true)
Objective function update for SimController storage.
Defines the linear algebra or vector space interface.
std::map< std::vector< Real >, int > indices_
void set(const Vector< Real > &x, const std::vector< Real > ¶m)
Set vector corresponding to input parameter.
std::vector< Ptr< Vector< Real > > > vectors_
std::vector< bool > flags_