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 47 of file Sacado_ParameterVectorBase.hpp.
|
protected |
Vector of all parameter families.
Definition at line 69 of file Sacado_ParameterVectorBase.hpp.
typedef EntryVector::iterator Sacado::ParameterVectorBase< FamilyType, BaseValueType >::iterator |
Iterator typename.
Definition at line 74 of file Sacado_ParameterVectorBase.hpp.
typedef EntryVector::const_iterator Sacado::ParameterVectorBase< FamilyType, BaseValueType >::const_iterator |
Const iterator typename.
Definition at line 77 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Default constructor.
Definition at line 80 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Copy constructor.
Definition at line 83 of file Sacado_ParameterVectorBase.hpp.
|
inlinevirtual |
Destructor.
Definition at line 87 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Assignment.
Definition at line 90 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Add entry.
Definition at line 94 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Return number of parameters in vector.
Definition at line 100 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Element access.
Definition at line 103 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Element access.
Definition at line 106 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at beginning of vector.
Definition at line 109 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at beginning of vector.
Definition at line 112 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at end of vector.
Definition at line 115 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Iterator pointing at end of vector.
Definition at line 118 of file Sacado_ParameterVectorBase.hpp.
|
inline |
Filter vector into types.
Definition at line 122 of file Sacado_ParameterVectorBase.hpp.
|
protected |
Parameter vector.
Definition at line 153 of file Sacado_ParameterVectorBase.hpp.