33 #ifndef SACADO_CACHEFAD_SFADTRAITS_HPP
34 #define SACADO_CACHEFAD_SFADTRAITS_HPP
42 template <
typename T,
int Num>
class SFad;
52 template <typename ValueT,
int Num>
58 template <
typename ValueT,
int Num>
64 template <
typename ValueT,
int Num>
70 template <
typename ValueT,
int Num>
72 static const bool value =
false;
76 template <
typename ValueT,
int Num>
85 template <
typename ValueT,
int Num>
95 template <
typename ValueT,
int Num>
97 static std::string
eval() {
99 ss <<
"Sacado::CacheFad::SFad< "
106 template <
typename ValueT,
int Num>
111 return x.isEqualTo(y);
116 template <
typename ValueT,
int Num>
122 template <
typename ValueT,
int Num>
128 template <
typename ValueT,
int Num>
134 template <
typename ValueT,
int Num>
146 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
149 template <
typename ValueT,
int Num>
157 template <
typename ValueT,
int Num,
typename R>
163 template <
typename L,
typename ValueT,
int Num>
173 #ifdef HAVE_SACADO_TEUCHOSCORE
176 template <
typename ValueT,
int Num>
178 public Sacado::Fad::ScalarTraitsImp< Sacado::CacheFad::SFad<ValueT,Num> >
184 #ifdef HAVE_SACADO_TEUCHOSCOMM
187 template <
typename Ordinal,
typename ValueT,
int Num>
189 public Sacado::Fad::SerializationTraitsImp< Ordinal,
190 Sacado::CacheFad::SFad<ValueT,Num> >
193 template <
typename Ordinal,
typename ValueT,
int Num>
195 public Sacado::Fad::SerializerImp< Ordinal,
196 Sacado::CacheFad::SFad<ValueT,Num>,
197 ValueTypeSerializer<Ordinal,ValueT> >
200 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
201 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
210 #if defined(HAVE_SACADO_KOKKOS) && defined(HAVE_SACADO_TEUCHOSKOKKOSCOMM) && defined(HAVE_SACADO_VIEW_SPEC) && !defined(SACADO_DISABLE_FAD_VIEW_SPEC)
214 #endif // SACADO_CACHEFAD_SFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
CacheFad::SFad< ValueT, Num >::ScalarT type
static std::string eval()
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 static size.
Base template specification for Value.
static SACADO_INLINE_FUNCTION bool eval(const CacheFad::SFad< ValueT, Num > &x, const CacheFad::SFad< ValueT, Num > &y)
ScalarType< CacheFad::SFad< ValueT, Num > >::type scalar_type
ValueType< CacheFad::SFad< ValueT, Num > >::type value_type
Base template specification for testing equivalence.
static std::string eval()
static SACADO_INLINE_FUNCTION const value_type & eval(const CacheFad::SFad< ValueT, Num > &x)
ValueType< CacheFad::SFad< ValueT, Num > >::type value_type
Base template specification for IsScalarType.
static SACADO_INLINE_FUNCTION const scalar_type & eval(const CacheFad::SFad< ValueT, Num > &x)
#define SACADO_SFAD_PROMOTE_SPEC(NS, FAD)
#define SACADO_INLINE_FUNCTION
static const unsigned value
GeneralFad< StaticFixedStorage< T, Num > > SFad
Base template specification for ValueType.
Base template specification for testing whether type is statically sized.