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