49 #ifndef SACADO_CACHEFAD_DFADTRAITS_HPP
50 #define SACADO_CACHEFAD_DFADTRAITS_HPP
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::CacheFad::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::CacheFad::DFad<ValueT> >
184 #ifdef HAVE_SACADO_TEUCHOSCOMM
187 template <
typename Ordinal,
typename ValueT>
189 public Sacado::Fad::SerializationTraitsImp< Ordinal,
190 Sacado::CacheFad::DFad<ValueT> >
193 template <
typename Ordinal,
typename ValueT>
195 public Sacado::Fad::SerializerImp< Ordinal,
196 Sacado::CacheFad::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_FAD_DFADTRAITS_HPP
static KOKKOS_INLINE_FUNCTION bool eval(const CacheFad::DFad< ValueT > &x, const CacheFad::DFad< ValueT > &y)
static KOKKOS_INLINE_FUNCTION const scalar_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)
#define KOKKOS_INLINE_FUNCTION
CacheFad::DFad< ValueT >::ScalarT type
ValueType< CacheFad::DFad< ValueT > >::type value_type
GeneralFad< DynamicStorage< T > > DFad
Base template specification for testing equivalence.
static KOKKOS_INLINE_FUNCTION const value_type & eval(const CacheFad::DFad< ValueT > &x)
Base template specification for IsScalarType.
Base template specification for ValueType.
static KOKKOS_INLINE_FUNCTION const T & eval(const T &x)
static std::string eval()
Base template specification for testing whether type is statically sized.