49 #ifndef SACADO_CACHEFAD_SFADTRAITS_HPP
50 #define SACADO_CACHEFAD_SFADTRAITS_HPP
58 template <
typename T,
int Num>
class SFad;
68 template <typename ValueT,
int Num>
74 template <
typename ValueT,
int Num>
80 template <
typename ValueT,
int Num>
86 template <
typename ValueT,
int Num>
88 static const bool value =
false;
92 template <
typename ValueT,
int Num>
101 template <
typename ValueT,
int Num>
111 template <
typename ValueT,
int Num>
114 std::stringstream ss;
115 ss <<
"Sacado::CacheFad::SFad< "
122 template <
typename ValueT,
int Num>
127 return x.isEqualTo(y);
132 template <
typename ValueT,
int Num>
138 template <
typename ValueT,
int Num>
144 template <
typename ValueT,
int Num>
150 template <
typename ValueT,
int Num>
162 #ifdef HAVE_SACADO_TEUCHOSNUMERICS
165 template <
typename ValueT,
int Num>
173 template <
typename ValueT,
int Num,
typename R>
179 template <
typename L,
typename ValueT,
int Num>
189 #ifdef HAVE_SACADO_TEUCHOSCORE
192 template <
typename ValueT,
int Num>
194 public Sacado::Fad::ScalarTraitsImp< Sacado::CacheFad::SFad<ValueT,Num> >
200 #ifdef HAVE_SACADO_TEUCHOSCOMM
203 template <
typename Ordinal,
typename ValueT,
int Num>
205 public Sacado::Fad::SerializationTraitsImp< Ordinal,
206 Sacado::CacheFad::SFad<ValueT,Num> >
209 template <
typename Ordinal,
typename ValueT,
int Num>
211 public Sacado::Fad::SerializerImp< Ordinal,
212 Sacado::CacheFad::SFad<ValueT,Num>,
213 ValueTypeSerializer<Ordinal,ValueT> >
216 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
217 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
226 #if defined(HAVE_SACADO_KOKKOSCORE) && defined(HAVE_SACADO_TEUCHOSKOKKOSCOMM) && defined(HAVE_SACADO_VIEW_SPEC) && !defined(SACADO_DISABLE_FAD_VIEW_SPEC)
230 #endif // SACADO_CACHEFAD_SFADTRAITS_HPP
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.
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const CacheFad::SFad< ValueT, Num > &x)
Base template specification for IsADType.
Sacado::Fad::DFad< double > FadType
Base template specification for static size.
Base template specification for Value.
ScalarType< CacheFad::SFad< ValueT, Num > >::type scalar_type
#define KOKKOS_INLINE_FUNCTION
static KOKKOS_INLINE_FUNCTION const value_type & eval(const CacheFad::SFad< ValueT, Num > &x)
ValueType< CacheFad::SFad< ValueT, Num > >::type value_type
Base template specification for testing equivalence.
static std::string eval()
ValueType< CacheFad::SFad< ValueT, Num > >::type value_type
static KOKKOS_INLINE_FUNCTION bool eval(const CacheFad::SFad< ValueT, Num > &x, const CacheFad::SFad< ValueT, Num > &y)
Base template specification for IsScalarType.
#define SACADO_SFAD_PROMOTE_SPEC(NS, FAD)
static const unsigned value
GeneralFad< StaticFixedStorage< T, Num > > SFad
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.