Specialization of Sacado::ParameterFamilyBase for scalar parameters.
More...
#include <Sacado_ScalarParameterFamily.hpp>
|
| | 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.
|
| |
| | ParameterFamilyBase (const std::string &name, bool supports_ad, bool supports_analytic) |
| | Constructor.
|
| |
| virtual | ~ParameterFamilyBase () |
| | Destructor.
|
| |
| std::string | getName () const |
| | Get the name of the family.
|
| |
| bool | supportsAD () const |
| | Indicates whether parameter supports AD derivatives.
|
| |
| bool | supportsAnalytic () const |
| | Indicates whether parameter supports analytic derivatives.
|
| |
| bool | hasType () const |
| | Determine if family has an entry for the given type EvalType.
|
| |
| bool | addEntry (const Teuchos::RCP< typename Sacado::mpl::apply< ScalarParameterEntry< _, DefaultEvalTypeTraits >, EvalType >::type > &entry, const bool allow_overwrite=false) |
| | Add a new parameter using custom entry.
|
| |
| Teuchos::RCP< typename Sacado::mpl::apply< ScalarParameterEntry< _, DefaultEvalTypeTraits >, EvalType >::type > | getEntry () |
| | Gets the entry corresponding to type EvalType.
|
| |
| Teuchos::RCP< const typename Sacado::mpl::apply< ScalarParameterEntry< _, DefaultEvalTypeTraits >, EvalType >::type > | getEntry () const |
| | Gets the entry corresponding to type EvalType.
|
| |
| void | print (std::ostream &os, bool print_values=false) const |
| | Print the family.
|
| |
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
class Sacado::ScalarParameterFamily< EvalTypeTraits >
Specialization of Sacado::ParameterFamilyBase for scalar parameters.
Definition at line 42 of file Sacado_ScalarParameterFamily.hpp.
◆ BaseT
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
◆ ScalarParameterFamily() [1/2]
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
◆ ~ScalarParameterFamily()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
◆ ScalarParameterFamily() [2/2]
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
Add a new parameter using custom entry.
Returns true if successful in adding entry to library, false otherwise. Private to prohibit copying
◆ setRealValueForAllTypes()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
◆ setRealValue()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
template<class EvalType>
◆ setValue()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
template<class EvalType>
◆ getRealValue()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
template<class EvalType>
◆ getValue()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
template<class EvalType>
◆ operator=()
template<typename EvalTypeTraits = DefaultEvalTypeTraits>
Private to prohibit copying.
◆ getValue()
template<typename EvalType, typename EvalTypeTraits>
The documentation for this class was generated from the following file: