30 #ifndef SACADO_CACHEFAD_SLFADTRAITS_HPP
31 #define SACADO_CACHEFAD_SLFADTRAITS_HPP
39 template <
typename T,
int Num>
class SLFad;
49 template <typename ValueT,
int Num>
55 template <
typename ValueT,
int Num>
61 template <
typename ValueT,
int Num>
67 template <
typename ValueT,
int Num>
69 static const bool value =
false;
73 template <
typename ValueT,
int Num>
82 template <
typename ValueT,
int Num>
92 template <
typename ValueT,
int Num>
94 static std::string
eval() {
96 ss <<
"Sacado::CacheFad::SLFad< "
103 template <
typename ValueT,
int Num>
108 return x.isEqualTo(y);
113 template <
typename ValueT,
int Num>
119 template <
typename ValueT,
int Num>
131 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
134 template <
typename ValueT,
int Num>
142 template <
typename ValueT,
int Num,
typename R>
148 template <
typename L,
typename ValueT,
int Num>
158 #ifdef HAVE_SACADO_TEUCHOSCORE
161 template <
typename ValueT,
int Num>
163 public Sacado::Fad::ScalarTraitsImp< Sacado::CacheFad::SLFad<ValueT,Num> >
169 #ifdef HAVE_SACADO_TEUCHOSCOMM
172 template <
typename Ordinal,
typename ValueT,
int Num>
174 public Sacado::Fad::SerializationTraitsImp< Ordinal,
175 Sacado::CacheFad::SLFad<ValueT,Num> >
178 template <
typename Ordinal,
typename ValueT,
int Num>
180 public Sacado::Fad::SerializerImp< Ordinal,
181 Sacado::CacheFad::SLFad<ValueT,Num>,
182 ValueTypeSerializer<Ordinal,ValueT> >
185 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
186 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
195 #if defined(HAVE_SACADO_KOKKOSCORE) && defined(HAVE_SACADO_TEUCHOSKOKKOSCOMM) && defined(HAVE_SACADO_VIEW_SPEC) && !defined(SACADO_DISABLE_FAD_VIEW_SPEC)
199 #endif // SACADO_CACHEFAD_SLFADTRAITS_HPP
static KOKKOS_INLINE_FUNCTION const value_type & eval(const CacheFad::SLFad< ValueT, Num > &x)
static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
ScalarType< CacheFad::SLFad< ValueT, Num > >::type scalar_type
static KOKKOS_INLINE_FUNCTION bool eval(const CacheFad::SLFad< ValueT, Num > &x, const CacheFad::SLFad< ValueT, Num > &y)
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
#define KOKKOS_INLINE_FUNCTION
ValueType< CacheFad::SLFad< ValueT, Num > >::type value_type
Base template specification for testing equivalence.
ValueType< CacheFad::SLFad< ValueT, Num > >::type value_type
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const CacheFad::SLFad< ValueT, Num > &x)
Base template specification for IsScalarType.
#define SACADO_SFAD_PROMOTE_SPEC(NS, FAD)
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.