Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
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. More... | |
typedef EntryVector::const_iterator | const_iterator |
Const iterator typename. More... | |
Public Member Functions | |
ParameterVectorBase () | |
Default constructor. More... | |
ParameterVectorBase (const ParameterVectorBase &source) | |
Copy constructor. More... | |
virtual | ~ParameterVectorBase () |
Destructor. More... | |
ParameterVectorBase & | operator= (const ParameterVectorBase &source) |
Assignment. More... | |
void | addParam (const Teuchos::RCP< FamilyType > &family, BaseValueType baseValue) |
Add entry. More... | |
unsigned int | size () const |
Return number of parameters in vector. More... | |
Entry & | operator[] (int i) |
Element access. More... | |
const Entry & | operator[] (int i) const |
Element access. More... | |
iterator | begin () |
Iterator pointing at beginning of vector. More... | |
const_iterator | begin () const |
Iterator pointing at beginning of vector. More... | |
iterator | end () |
Iterator pointing at end of vector. More... | |
const_iterator | end () const |
Iterator pointing at end of vector. More... | |
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. More... | |
Protected Types | |
typedef Teuchos::Array< Entry > | EntryVector |
Vector of all parameter families. More... | |
Protected Attributes | |
EntryVector | params |
Parameter vector. More... | |
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.
Definition at line 27 of file Sacado_ParameterVectorBase.hpp.
|
protected |
Vector of all parameter families.
Definition at line 49 of file Sacado_ParameterVectorBase.hpp.
typedef EntryVector::iterator Sacado::ParameterVectorBase< FamilyType, BaseValueType >::iterator |
Iterator typename.
Definition at line 54 of file Sacado_ParameterVectorBase.hpp.
typedef EntryVector::const_iterator Sacado::ParameterVectorBase< FamilyType, BaseValueType >::const_iterator |
Const iterator typename.
Definition at line 57 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Default constructor.
Definition at line 60 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Copy constructor.
Definition at line 63 of file Sacado_ParameterVectorBase.hpp.
|
inlinevirtual |
Destructor.
Definition at line 67 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Assignment.
Definition at line 70 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Add entry.
Definition at line 74 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Return number of parameters in vector.
Definition at line 80 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Element access.
Definition at line 83 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Element access.
Definition at line 86 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at beginning of vector.
Definition at line 89 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at beginning of vector.
Definition at line 92 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at end of vector.
Definition at line 95 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at end of vector.
Definition at line 98 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Filter vector into types.
Definition at line 102 of file Sacado_ParameterVectorBase.hpp.
|
protected |
Parameter vector.
Definition at line 133 of file Sacado_ParameterVectorBase.hpp.