Sacado Development
Public Member Functions | Related Functions
Sacado::ScalarParameterFamily< EvalTypeTraits > Class Template Reference

Specialization of Sacado::ParameterFamilyBase for scalar parameters. More...

#include <Sacado_ScalarParameterFamily.hpp>

Inheritance diagram for Sacado::ScalarParameterFamily< EvalTypeTraits >:
Inheritance graph
[legend]
Collaboration diagram for Sacado::ScalarParameterFamily< EvalTypeTraits >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScalarParameterFamily (const std::string &name_, bool supports_ad_, bool supports_analytic_)
 Constructor.
virtual ~ScalarParameterFamily ()
 Destructor.
void setRealValueForAllTypes (double value)
 Set paramter value using a real number.
template<class EvalType >
void setRealValue (double value)
 Set real parameter value.
template<class EvalType >
void setValue (const typename EvalTypeTraits::template apply< EvalType >::type &value)
 Set parameter to value value treating parameter as a constant.
template<class EvalType >
double getRealValue () const
 Get real parameter value.
template<class EvalType >
const EvalTypeTraits::template
apply< EvalType >::type & 
getValue () const
 Get parameter value.

Related Functions

(Note that these are not member functions.)

template<typename EvalType , typename EvalTypeTraits >
Sacado::ScalarParameterEntry
< EvalType >::ScalarT 
getValue (const ScalarParameterFamily< EvalTypeTraits > &spf)
 Get the value.

Detailed Description

template<typename EvalTypeTraits = DefaultEvalTypeTraits>
class Sacado::ScalarParameterFamily< EvalTypeTraits >

Specialization of Sacado::ParameterFamilyBase for scalar parameters.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends