|
ROL
|
#include <ROL_SampledScalar.hpp>
Public Member Functions | |
| SampledScalar (void) | |
| Constructor. | |
| void | update (const bool flag=true) |
| Update for SampledScalar storage. | |
| bool | get (Real &x, const Key ¶m) |
| Return vector corresponding to input parameter. | |
| void | set (const Real &x, const Key ¶m) |
| Set vector corresponding to input parameter. | |
Private Member Functions | |
| void | reset (const bool flag=true) |
Private Attributes | |
| std::map< Key, int > | indices_ |
| std::vector< bool > | flags_ |
| std::vector< Real > | scalars_ |
| int | maxIndex_ |
| bool | updated_ |
Definition at line 16 of file ROL_SampledScalar.hpp.
|
inline |
|
inlineprivate |
Definition at line 27 of file ROL_SampledScalar.hpp.
References flags_, and indices_.
Referenced by update().
|
inline |
Update for SampledScalar storage.
Definition at line 48 of file ROL_SampledScalar.hpp.
|
inline |
|
inline |
|
private |
Definition at line 19 of file ROL_SampledScalar.hpp.
Referenced by get(), reset(), SampledScalar(), and set().
|
private |
Definition at line 20 of file ROL_SampledScalar.hpp.
Referenced by get(), reset(), SampledScalar(), and set().
|
private |
Definition at line 21 of file ROL_SampledScalar.hpp.
Referenced by get(), SampledScalar(), and set().
|
private |
Definition at line 22 of file ROL_SampledScalar.hpp.
Referenced by get(), SampledScalar(), and set().
|
private |
Definition at line 25 of file ROL_SampledScalar.hpp.
Referenced by SampledScalar(), and update().