49 #ifndef SACADO_ELRCACHEFAD_DFADTRAITS_HPP
50 #define SACADO_ELRCACHEFAD_DFADTRAITS_HPP
56 namespace ELRCacheFad {
57 template <
typename T>
class DFad;
67 template <typename ValueT>
73 template <
typename ValueT>
79 template <
typename ValueT>
85 template <
typename ValueT>
87 static const bool value =
false;
91 template <
typename ValueT>
100 template <
typename ValueT>
110 template <
typename ValueT>
113 return std::string(
"Sacado::ELRCacheFad::DFad< ") +
118 template <
typename ValueT>
123 return x.isEqualTo(y);
128 template <
typename ValueT>
134 template <
typename ValueT>
146 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
149 template <
typename ValueT>
157 template <
typename ValueT,
typename R>
163 template <
typename L,
typename ValueT>
173 #ifdef HAVE_SACADO_TEUCHOSCORE
176 template <
typename ValueT>
178 public Sacado::Fad::ScalarTraitsImp< Sacado::ELRCacheFad::DFad<ValueT> >
184 #ifdef HAVE_SACADO_TEUCHOSCOMM
187 template <
typename Ordinal,
typename ValueT>
189 public Sacado::Fad::SerializationTraitsImp< Ordinal,
190 Sacado::ELRCacheFad::DFad<ValueT> >
193 template <
typename Ordinal,
typename ValueT>
195 public Sacado::Fad::SerializerImp< Ordinal,
196 Sacado::ELRCacheFad::DFad<ValueT>,
197 ValueTypeSerializer<Ordinal,ValueT> >
200 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
201 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
210 #if defined(HAVE_SACADO_KOKKOSCORE) && defined(HAVE_SACADO_TEUCHOSKOKKOSCOMM) && defined(HAVE_SACADO_VIEW_SPEC) && !defined(SACADO_DISABLE_FAD_VIEW_SPEC)
214 #endif // SACADO_ELRCACHEFAD_DFADTRAITS_HPP
static std::string eval()
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const ELRCacheFad::DFad< ValueT > &x)
Base template specification for ScalarValue.
Base template specification for ScalarType.
Base template specification for string names of types.
Base template specification for IsADType.
Sacado::Fad::DFad< double > FadType
Base template specification for Value.
#define SACADO_FAD_PROMOTE_SPEC(NS, FAD)
#define KOKKOS_INLINE_FUNCTION
ScalarType< ELRCacheFad::DFad< ValueT > >::type scalar_type
GeneralFad< DynamicStorage< T > > DFad
Base template specification for testing equivalence.
static KOKKOS_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 KOKKOS_INLINE_FUNCTION bool eval(const ELRCacheFad::DFad< ValueT > &x, const ELRCacheFad::DFad< ValueT > &y)
static std::string eval()
ValueType< ELRCacheFad::DFad< ValueT > >::type value_type
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.