10 #ifndef SACADO_CACHEFAD_SLFADTRAITS_HPP
11 #define SACADO_CACHEFAD_SLFADTRAITS_HPP
19 template <
typename T,
int Num>
class SLFad;
29 template <typename ValueT,
int Num>
35 template <
typename ValueT,
int Num>
41 template <
typename ValueT,
int Num>
47 template <
typename ValueT,
int Num>
49 static const bool value =
false;
53 template <
typename ValueT,
int Num>
62 template <
typename ValueT,
int Num>
72 template <
typename ValueT,
int Num>
74 static std::string
eval() {
76 ss <<
"Sacado::CacheFad::SLFad< "
83 template <
typename ValueT,
int Num>
88 return x.isEqualTo(y);
93 template <
typename ValueT,
int Num>
95 static const bool value =
false;
99 template <
typename ValueT,
int Num>
111 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
114 template <
typename ValueT,
int Num>
122 template <
typename ValueT,
int Num,
typename R>
128 template <
typename L,
typename ValueT,
int Num>
138 #ifdef HAVE_SACADO_TEUCHOSCORE
141 template <
typename ValueT,
int Num>
143 public Sacado::Fad::ScalarTraitsImp< Sacado::CacheFad::SLFad<ValueT,Num> >
149 #ifdef HAVE_SACADO_TEUCHOSCOMM
152 template <
typename Ordinal,
typename ValueT,
int Num>
154 public Sacado::Fad::SerializationTraitsImp< Ordinal,
155 Sacado::CacheFad::SLFad<ValueT,Num> >
158 template <
typename Ordinal,
typename ValueT,
int Num>
160 public Sacado::Fad::SerializerImp< Ordinal,
161 Sacado::CacheFad::SLFad<ValueT,Num>,
162 ValueTypeSerializer<Ordinal,ValueT> >
165 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
166 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
175 #if defined(HAVE_SACADO_KOKKOS) && defined(HAVE_SACADO_TEUCHOSKOKKOSCOMM) && defined(HAVE_SACADO_VIEW_SPEC) && !defined(SACADO_DISABLE_FAD_VIEW_SPEC)
179 #endif // SACADO_CACHEFAD_SLFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
static std::string eval()
static SACADO_INLINE_FUNCTION bool eval(const CacheFad::SLFad< ValueT, Num > &x, const CacheFad::SLFad< ValueT, Num > &y)
Base template specification for ScalarValue.
Base template specification for ScalarType.
ScalarType< CacheFad::SLFad< ValueT, Num > >::type scalar_type
Base template specification for string names of types.
GeneralFad< StaticStorage< T, Num > > SLFad
Base template specification for IsADType.
Sacado::Fad::DFad< double > FadType
Base template specification for Value.
static std::string eval()
CacheFad::SLFad< ValueT, Num >::ScalarT type
static SACADO_INLINE_FUNCTION const scalar_type & eval(const CacheFad::SLFad< ValueT, Num > &x)
ValueType< CacheFad::SLFad< ValueT, Num > >::type value_type
Base template specification for testing equivalence.
ValueType< CacheFad::SLFad< ValueT, Num > >::type value_type
Base template specification for IsScalarType.
static SACADO_INLINE_FUNCTION const value_type & eval(const CacheFad::SLFad< ValueT, Num > &x)
#define SACADO_SFAD_PROMOTE_SPEC(NS, FAD)
#define SACADO_INLINE_FUNCTION
Base template specification for ValueType.
Base template specification for testing whether type is statically sized.