Go to the documentation of this file.
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));
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
void reset(const bool flag=true)
bool get(Vector< Real > &x, const std::vector< Real > ¶m)
Return vector corresponding to input parameter.
void objectiveUpdate(const bool flag=true)
Objective function update for SimController storage.
void equalityConstraintUpdate(const bool flag=true)
Equality constraint update for SimController storage.
std::vector< bool > flags_
SimController(void)
Constructor.
void set(const Vector< Real > &x, const std::vector< Real > ¶m)
Set vector corresponding to input parameter.
Defines the linear algebra or vector space interface.
virtual void set(const Vector &x)
Set where .
std::map< std::vector< Real >, int > indices_
std::vector< Ptr< Vector< Real > > > vectors_