#include <Sacado_ScalarParameterLibrary.hpp>
Inheritance diagram for Sacado::ScalarParameterLibrary:

Public Member Functions | |
| ScalarParameterLibrary () | |
| Default constructor. | |
| virtual | ~ScalarParameterLibrary () |
| Destructor. | |
| void | setRealValueForAllTypes (const std::string &name, double value) |
| Set paramter value using a real number. | |
| template<class ValueType> | |
| void | setValueAsConstant (const std::string &name, const ValueType &value) |
| Set parameter to value value. | |
| template<class ValueType> | |
| void | setValueAsIndependent (const std::string &name, const ValueType &value) |
| Set parameter to value value. | |
| template<class ValueType> | |
| const ValueType & | getValue (const std::string &name) const |
| Get parameter value. | |
| void | fillVector (const Teuchos::Array< std::string > &names, ScalarParameterVector &pv) |
| Fill a vector with the supplied parameter names. | |
Static Public Member Functions | |
| static ScalarParameterLibrary & | getInstance () |
| Returns a parameter library (singleton object). | |
Private Member Functions | |
| ScalarParameterLibrary (const ScalarParameterLibrary &) | |
| Private to prohibit copying. | |
| ScalarParameterLibrary & | operator= (const ScalarParameterLibrary &) |
| Private to prohibit copying. | |
Definition at line 47 of file Sacado_ScalarParameterLibrary.hpp.
| Sacado::ScalarParameterLibrary::ScalarParameterLibrary | ( | ) | [inline] |
| virtual Sacado::ScalarParameterLibrary::~ScalarParameterLibrary | ( | ) | [inline, virtual] |
| Sacado::ScalarParameterLibrary::ScalarParameterLibrary | ( | const ScalarParameterLibrary & | ) | [private] |
Private to prohibit copying.
| void Sacado::ScalarParameterLibrary::setRealValueForAllTypes | ( | const std::string & | name, | |
| double | value | |||
| ) |
Set paramter value using a real number.
Definition at line 36 of file Sacado_ScalarParameterLibrary.cpp.
| void Sacado::ScalarParameterLibrary::setValueAsConstant | ( | const std::string & | name, | |
| const ValueType & | value | |||
| ) |
Set parameter to value value.
Treat the set parameter as a constant for derivative computations.
Definition at line 110 of file Sacado_ScalarParameterLibrary.hpp.
| void Sacado::ScalarParameterLibrary::setValueAsIndependent | ( | const std::string & | name, | |
| const ValueType & | value | |||
| ) |
Set parameter to value value.
Treat the set parameter as an independent for derivative computations.
Definition at line 124 of file Sacado_ScalarParameterLibrary.hpp.
| const ValueType & Sacado::ScalarParameterLibrary::getValue | ( | const std::string & | name | ) | const |
| static ScalarParameterLibrary& Sacado::ScalarParameterLibrary::getInstance | ( | ) | [inline, static] |
Returns a parameter library (singleton object).
Definition at line 82 of file Sacado_ScalarParameterLibrary.hpp.
| void Sacado::ScalarParameterLibrary::fillVector | ( | const Teuchos::Array< std::string > & | names, | |
| ScalarParameterVector & | pv | |||
| ) |
Fill a vector with the supplied parameter names.
baseValue will be computed from each individual parameter
Definition at line 49 of file Sacado_ScalarParameterLibrary.cpp.
| ScalarParameterLibrary& Sacado::ScalarParameterLibrary::operator= | ( | const ScalarParameterLibrary & | ) | [private] |
Private to prohibit copying.
1.4.7