10 #ifndef SACADO_ELRCACHEFAD_SLFADTRAITS_HPP
11 #define SACADO_ELRCACHEFAD_SLFADTRAITS_HPP
18 namespace ELRCacheFad {
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::ELRCacheFad::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::ELRCacheFad::SLFad<ValueT,Num> >
149 #ifdef HAVE_SACADO_TEUCHOSCOMM
152 template <
typename Ordinal,
typename ValueT,
int Num>
154 public Sacado::Fad::SerializationTraitsImp< Ordinal,
155 Sacado::ELRCacheFad::SLFad<ValueT,Num> >
158 template <
typename Ordinal,
typename ValueT,
int Num>
160 public Sacado::Fad::SerializerImp< Ordinal,
161 Sacado::ELRCacheFad::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_ELRCACHEFAD_SLFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
static std::string eval()
ELRCacheFad::SLFad< ValueT, Num >::ScalarT type
Base template specification for ScalarValue.
Base template specification for ScalarType.
Base template specification for string names of types.
GeneralFad< StaticStorage< T, Num > > SLFad
Base template specification for IsADType.
Sacado::Fad::DFad< double > FadType
ValueType< ELRCacheFad::SLFad< ValueT, Num > >::type value_type
Base template specification for Value.
static SACADO_INLINE_FUNCTION const value_type & eval(const ELRCacheFad::SLFad< ValueT, Num > &x)
ValueType< ELRCacheFad::SLFad< ValueT, Num > >::type value_type
ScalarType< ELRCacheFad::SLFad< ValueT, Num > >::type scalar_type
Base template specification for testing equivalence.
static std::string eval()
Base template specification for IsScalarType.
#define SACADO_SFAD_PROMOTE_SPEC(NS, FAD)
#define SACADO_INLINE_FUNCTION
static SACADO_INLINE_FUNCTION bool eval(const ELRCacheFad::SLFad< ValueT, Num > &x, const ELRCacheFad::SLFad< ValueT, Num > &y)
Base template specification for ValueType.
static SACADO_INLINE_FUNCTION const scalar_type & eval(const ELRCacheFad::SLFad< ValueT, Num > &x)
Base template specification for testing whether type is statically sized.