ROL
|
#include <ROL_ScalarController.hpp>
Public Member Functions | |
ScalarController (void) | |
bool | get (Real &x, const Key ¶m) |
void | set (Real x, const Key ¶m) |
Public Member Functions inherited from ROL::VectorController< Real, Key > | |
VectorController (void) | |
Constructor. More... | |
void | reset (bool flag=true) |
void | objectiveUpdate (bool flag=true) |
Objective function update for VectorController storage. More... | |
void | constraintUpdate (bool flag=true) |
Equality constraint update for VectorController storage. More... | |
void | objectiveUpdate (UpdateType type) |
Objective function update for VectorController storage. More... | |
void | constraintUpdate (UpdateType type) |
Constraint update for VectorController storage. More... | |
bool | isNull (const Key ¶m) const |
Check if vector associated with provided key is allocated. More... | |
bool | isComputed (const Key ¶m) const |
Check if vector has been computed. More... | |
void | allocate (const Vector< Real > &x, const Key ¶m) |
Allocate the vector associated with provided key. More... | |
const Ptr< Vector< Real > > | set (const Key ¶m) |
Set the vector associated with provided key. This assumes the vector data will be changed. More... | |
const Ptr< const Vector< Real > > | get (const Key ¶m) const |
Return the vector associated with provided key. More... | |
bool | get (Vector< Real > &x, const Key ¶m) |
Return vector corresponding to input parameter. More... | |
void | set (const Vector< Real > &x, const Key ¶m) |
Set vector corresponding to input parameter. More... | |
void | push (VectorController< Real, Key > &to) const |
Push the contents of *this into another VectorController. More... | |
Definition at line 19 of file ROL_ScalarController.hpp.
ROL::ScalarController< Real, Key >::ScalarController | ( | void | ) |
Definition at line 16 of file ROL_ScalarController_Def.hpp.
bool ROL::ScalarController< Real, Key >::get | ( | Real & | x, |
const Key & | param | ||
) |
Definition at line 19 of file ROL_ScalarController_Def.hpp.
References ROL::VectorController< Real, Key >::get(), and ROL::SingletonVector< Real >::getValue().
void ROL::ScalarController< Real, Key >::set | ( | Real | x, |
const Key & | param | ||
) |
Definition at line 27 of file ROL_ScalarController_Def.hpp.
References ROL::VectorController< Real, Key >::set().