Sacado
Development
|
A class to store the active parameters in a code in an ordered fashion, along with their "base" values, i.e., the floating point value upon which the templated values are based. More...
#include <Sacado_ParameterVectorBase.hpp>
Classes | |
struct | Entry |
Container for parameter entries. More... | |
Public Types | |
typedef EntryVector::iterator | iterator |
Iterator typename. | |
typedef EntryVector::const_iterator | const_iterator |
Const iterator typename. | |
Public Member Functions | |
ParameterVectorBase () | |
Default constructor. | |
ParameterVectorBase (const ParameterVectorBase &source) | |
Copy constructor. | |
virtual | ~ParameterVectorBase () |
Destructor. | |
ParameterVectorBase & | operator= (const ParameterVectorBase &source) |
Assignment. | |
void | addParam (const Teuchos::RCP< FamilyType > &family, BaseValueType baseValue) |
Add entry. | |
unsigned int | size () const |
Return number of parameters in vector. | |
Entry & | operator[] (int i) |
Element access. | |
const Entry & | operator[] (int i) const |
Element access. | |
iterator | begin () |
Iterator pointing at beginning of vector. | |
const_iterator | begin () const |
Iterator pointing at beginning of vector. | |
iterator | end () |
Iterator pointing at end of vector. | |
const_iterator | end () const |
Iterator pointing at end of vector. | |
void | filterParameters (ParameterVectorBase &ad, ParameterVectorBase &analytic, ParameterVectorBase &other, std::vector< int > &index_ad, std::vector< int > &index_analytic, std::vector< int > &index_other) |
Filter vector into types. | |
Protected Types | |
typedef Teuchos::Array< Entry > | EntryVector |
Vector of all parameter families. | |
Protected Attributes | |
EntryVector | params |
Parameter vector. | |
A class to store the active parameters in a code in an ordered fashion, along with their "base" values, i.e., the floating point value upon which the templated values are based.