30 #ifndef SACADO_FAD_DVFADTRAITS_HPP
31 #define SACADO_FAD_DVFADTRAITS_HPP
35 #ifdef SACADO_NEW_FAD_DESIGN_IS_DEFAULT
46 template <
typename T>
class DVFad;
56 template <typename ValueT>
62 template <
typename ValueT>
68 template <
typename ValueT>
74 template <
typename ValueT>
76 static const bool value =
false;
80 template <
typename ValueT>
86 template <
typename ValueT>
94 template <
typename ValueT>
103 template <
typename ValueT>
106 return std::string(
"Sacado::Fad::DVFad< ") +
111 template <
typename ValueT>
114 return x.isEqualTo(y);
119 template <
typename ValueT>
124 template <
typename T>
136 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
139 template <
typename ValueT>
140 struct PromotionTraits< Sacado::
Fad::DVFad<ValueT>,
147 template <
typename ValueT,
typename R>
148 struct PromotionTraits< Sacado::
Fad::DVFad<ValueT>,
R > {
153 template <
typename L,
typename ValueT>
154 struct PromotionTraits< L, Sacado::
Fad::DVFad<ValueT> > {
163 #ifdef HAVE_SACADO_TEUCHOSCORE
166 template <
typename ValueT>
167 struct ScalarTraits< Sacado::
Fad::DVFad<ValueT> > :
168 public Sacado::Fad::ScalarTraitsImp< Sacado::Fad::DVFad<ValueT> >
173 #endif // SACADO_NEW_FAD_DESIGN_IS_DEFAULT
175 #endif // SACADO_FAD_DVFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
ValueType< Fad::DVFad< ValueT > >::type value_type
ScalarType< Fad::DVFad< ValueT > >::type scalar_type
static std::string eval()
static bool eval(const Fad::DVFad< ValueT > &x, const Fad::DVFad< ValueT > &y)
Base template specification for ScalarValue.
Base template specification for ScalarType.
Base template specification for whether a type is a Fad type.
Base template specification for string names of types.
Base template specification for IsADType.
Base template specification for Value.
static const scalar_type & eval(const Fad::DVFad< ValueT > &x)
Base template specification for IsSimdType.
Fad::DVFad< ValueT >::ScalarT type
#define SACADO_FAD_PROMOTE_SPEC(NS, FAD)
Base template specification for testing equivalence.
static std::string eval()
GeneralFad< VectorDynamicStorage< T > > DVFad
Forward-mode AD class using dynamic memory allocation and expression templates.
ValueType< Fad::DVFad< ValueT > >::type value_type
ScalarType< ValueT >::type ScalarT
Typename of scalar's (which may be different from ValueT)
static const value_type & eval(const Fad::DVFad< ValueT > &x)
Base template specification for IsScalarType.
Base template specification for ValueType.
Base template specification for testing whether type is statically sized.