30 #ifndef SACADO_ELRCACHEFAD_DFADTRAITS_HPP
31 #define SACADO_ELRCACHEFAD_DFADTRAITS_HPP
37 namespace ELRCacheFad {
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::ELRCacheFad::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::ELRCacheFad::DFad<ValueT> >
165 #ifdef HAVE_SACADO_TEUCHOSCOMM
168 template <
typename Ordinal,
typename ValueT>
170 public Sacado::Fad::SerializationTraitsImp< Ordinal,
171 Sacado::ELRCacheFad::DFad<ValueT> >
174 template <
typename Ordinal,
typename ValueT>
176 public Sacado::Fad::SerializerImp< Ordinal,
177 Sacado::ELRCacheFad::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_ELRCACHEFAD_DFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
Base template specification for string names of types.
Base template specification for IsADType.
static SACADO_INLINE_FUNCTION const scalar_type & eval(const ELRCacheFad::DFad< ValueT > &x)
Sacado::Fad::DFad< double > FadType
Base template specification for Value.
#define SACADO_FAD_PROMOTE_SPEC(NS, FAD)
ScalarType< ELRCacheFad::DFad< ValueT > >::type scalar_type
GeneralFad< DynamicStorage< T > > DFad
Base template specification for testing equivalence.
static SACADO_INLINE_FUNCTION bool eval(const ELRCacheFad::DFad< ValueT > &x, const ELRCacheFad::DFad< ValueT > &y)
static SACADO_INLINE_FUNCTION const value_type & eval(const ELRCacheFad::DFad< ValueT > &x)
ValueType< ELRCacheFad::DFad< ValueT > >::type value_type
ELRCacheFad::DFad< ValueT >::ScalarT type
Base template specification for IsScalarType.
static std::string eval()
#define SACADO_INLINE_FUNCTION
ValueType< ELRCacheFad::DFad< ValueT > >::type value_type
Base template specification for ValueType.
Base template specification for testing whether type is statically sized.