ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROL::SimController< Real, Key > Class Template Reference

#include <ROL_SimController.hpp>

Public Member Functions

 SimController (void)
 Constructor. More...
 
void objectiveUpdate (const bool flag=true)
 Objective function update for SimController storage. More...
 
void equalityConstraintUpdate (const bool flag=true)
 Equality constraint update for SimController storage. More...
 
bool get (Vector< Real > &x, const Key &param)
 Return vector corresponding to input parameter. More...
 
void set (const Vector< Real > &x, const Key &param)
 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< Ptr< Vector< Real > > > vectors_
 
int maxIndex_
 
bool objUpdated_
 
bool conUpdated_
 

Detailed Description

template<class Real, class Key = std::vector<Real>>
class ROL::SimController< Real, Key >

Definition at line 53 of file ROL_SimController.hpp.

Constructor & Destructor Documentation

template<class Real , class Key = std::vector<Real>>
ROL::SimController< Real, Key >::SimController ( void  )
inline

Member Function Documentation

template<class Real , class Key = std::vector<Real>>
void ROL::SimController< Real, Key >::reset ( const bool  flag = true)
inlineprivate
template<class Real , class Key = std::vector<Real>>
void ROL::SimController< Real, Key >::objectiveUpdate ( const bool  flag = true)
inline
template<class Real , class Key = std::vector<Real>>
void ROL::SimController< Real, Key >::equalityConstraintUpdate ( const bool  flag = true)
inline
template<class Real , class Key = std::vector<Real>>
bool ROL::SimController< Real, Key >::get ( Vector< Real > &  x,
const Key &  param 
)
inline
template<class Real , class Key = std::vector<Real>>
void ROL::SimController< Real, Key >::set ( const Vector< Real > &  x,
const Key &  param 
)
inline

Member Data Documentation

template<class Real , class Key = std::vector<Real>>
std::map<Key,int> ROL::SimController< Real, Key >::indices_
private
template<class Real , class Key = std::vector<Real>>
std::vector<bool> ROL::SimController< Real, Key >::flags_
private
template<class Real , class Key = std::vector<Real>>
std::vector<Ptr<Vector<Real> > > ROL::SimController< Real, Key >::vectors_
private
template<class Real , class Key = std::vector<Real>>
int ROL::SimController< Real, Key >::maxIndex_
private
template<class Real , class Key = std::vector<Real>>
bool ROL::SimController< Real, Key >::objUpdated_
private
template<class Real , class Key = std::vector<Real>>
bool ROL::SimController< Real, Key >::conUpdated_
private

The documentation for this class was generated from the following file: