30 #ifndef SACADO_CACHEFAD_DFADTRAITS_HPP
31 #define SACADO_CACHEFAD_DFADTRAITS_HPP
38 template <
typename T>
class DFad;
48 template <typename ValueT>
54 template <
typename ValueT>
60 template <
typename ValueT>
66 template <
typename ValueT>
68 static const bool value =
false;
72 template <
typename ValueT>
81 template <
typename ValueT>
91 template <
typename ValueT>
93 static std::string
eval() {
94 return std::string(
"Sacado::CacheFad::DFad< ") +
99 template <
typename ValueT>
104 return x.isEqualTo(y);
109 template <
typename ValueT>
115 template <
typename ValueT>
127 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
130 template <
typename ValueT>
138 template <
typename ValueT,
typename R>
144 template <
typename L,
typename ValueT>
154 #ifdef HAVE_SACADO_TEUCHOSCORE
157 template <
typename ValueT>
159 public Sacado::Fad::ScalarTraitsImp< Sacado::CacheFad::DFad<ValueT> >
165 #ifdef HAVE_SACADO_TEUCHOSCOMM
168 template <
typename Ordinal,
typename ValueT>
170 public Sacado::Fad::SerializationTraitsImp< Ordinal,
171 Sacado::CacheFad::DFad<ValueT> >
174 template <
typename Ordinal,
typename ValueT>
176 public Sacado::Fad::SerializerImp< Ordinal,
177 Sacado::CacheFad::DFad<ValueT>,
178 ValueTypeSerializer<Ordinal,ValueT> >
181 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
182 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
191 #if defined(HAVE_SACADO_KOKKOS) && defined(HAVE_SACADO_TEUCHOSKOKKOSCOMM) && defined(HAVE_SACADO_VIEW_SPEC) && !defined(SACADO_DISABLE_FAD_VIEW_SPEC)
195 #endif // SACADO_FAD_DFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
static SACADO_INLINE_FUNCTION const value_type & eval(const CacheFad::DFad< ValueT > &x)
static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
ScalarType< CacheFad::DFad< ValueT > >::type scalar_type
Base template specification for string names of types.
Base template specification for IsADType.
Sacado::Fad::DFad< double > FadType
ValueType< CacheFad::DFad< ValueT > >::type value_type
Base template specification for Value.
#define SACADO_FAD_PROMOTE_SPEC(NS, FAD)
CacheFad::DFad< ValueT >::ScalarT type
ValueType< CacheFad::DFad< ValueT > >::type value_type
GeneralFad< DynamicStorage< T > > DFad
Base template specification for testing equivalence.
static SACADO_INLINE_FUNCTION const scalar_type & eval(const CacheFad::DFad< ValueT > &x)
Base template specification for IsScalarType.
#define SACADO_INLINE_FUNCTION
static SACADO_INLINE_FUNCTION bool eval(const CacheFad::DFad< ValueT > &x, const CacheFad::DFad< ValueT > &y)
Base template specification for ValueType.
static std::string eval()
Base template specification for testing whether type is statically sized.