ROL
|
#include <ROL_SampledVector.hpp>
Public Member Functions | |
SampledVector (void) | |
Constructor. More... | |
void | update (const bool flag=true) |
Update for SampledVector storage. 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... | |
Private Member Functions | |
void | reset (const bool flag=true) |
Private Attributes | |
std::map< Key, int > | indices_ |
std::vector< bool > | flags_ |
std::vector< ROL::Ptr< Vector < Real > > > | vectors_ |
int | maxIndex_ |
bool | updated_ |
Definition at line 51 of file ROL_SampledVector.hpp.
|
inline |
Constructor.
Definition at line 75 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real, Key >::flags_, ROL::SampledVector< Real, Key >::indices_, and ROL::SampledVector< Real, Key >::vectors_.
|
inlineprivate |
Definition at line 62 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real, Key >::flags_.
Referenced by ROL::SampledVector< Real, Key >::update().
|
inline |
Update for SampledVector storage.
Definition at line 84 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real, Key >::reset(), and ROL::SampledVector< Real, Key >::updated_.
|
inline |
Return vector corresponding to input parameter.
Definition at line 91 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real, Key >::flags_, ROL::SampledVector< Real, Key >::indices_, ROL::SampledVector< Real, Key >::maxIndex_, and ROL::SampledVector< Real, Key >::vectors_.
|
inline |
Set vector corresponding to input parameter.
Definition at line 114 of file ROL_SampledVector.hpp.
References ROL::Vector< Real >::clone(), ROL::SampledVector< Real, Key >::flags_, ROL::SampledVector< Real, Key >::indices_, ROL::SampledVector< Real, Key >::maxIndex_, and ROL::SampledVector< Real, Key >::vectors_.
|
private |
Definition at line 54 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real, Key >::get(), ROL::SampledVector< Real, Key >::SampledVector(), and ROL::SampledVector< Real, Key >::set().
|
private |
Definition at line 55 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real, Key >::get(), ROL::SampledVector< Real, Key >::reset(), ROL::SampledVector< Real, Key >::SampledVector(), and ROL::SampledVector< Real, Key >::set().
|
private |
Definition at line 56 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real, Key >::get(), ROL::SampledVector< Real, Key >::SampledVector(), and ROL::SampledVector< Real, Key >::set().
|
private |
Definition at line 57 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real, Key >::get(), and ROL::SampledVector< Real, Key >::set().
|
private |
Definition at line 60 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real, Key >::update().