49 #ifndef SACADO_FAD_DVFADTRAITS_HPP
50 #define SACADO_FAD_DVFADTRAITS_HPP
54 #ifdef SACADO_NEW_FAD_DESIGN_IS_DEFAULT
65 template <
typename T>
class DVFad;
75 template <typename ValueT>
81 template <
typename ValueT>
87 template <
typename ValueT>
93 template <
typename ValueT>
95 static const bool value =
false;
99 template <
typename ValueT>
105 template <
typename ValueT>
113 template <
typename ValueT>
122 template <
typename ValueT>
125 return std::string(
"Sacado::Fad::DVFad< ") +
130 template <
typename ValueT>
133 return x.isEqualTo(y);
138 template <
typename ValueT>
143 template <
typename T>
155 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
158 template <
typename ValueT>
159 struct PromotionTraits< Sacado::
Fad::DVFad<ValueT>,
166 template <
typename ValueT,
typename R>
167 struct PromotionTraits< Sacado::
Fad::DVFad<ValueT>,
R > {
172 template <
typename L,
typename ValueT>
173 struct PromotionTraits< L, Sacado::
Fad::DVFad<ValueT> > {
182 #ifdef HAVE_SACADO_TEUCHOSCORE
185 template <
typename ValueT>
186 struct ScalarTraits< Sacado::
Fad::DVFad<ValueT> > :
187 public Sacado::Fad::ScalarTraitsImp< Sacado::Fad::DVFad<ValueT> >
192 #endif // SACADO_NEW_FAD_DESIGN_IS_DEFAULT
194 #endif // SACADO_FAD_DVFADTRAITS_HPP
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.
static KOKKOS_INLINE_FUNCTION const T & eval(const T &x)
Base template specification for testing whether type is statically sized.