49 #ifndef SACADO_ELRFAD_SFADTRAITS_HPP 50 #define SACADO_ELRFAD_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::ELRFad::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>
158 #ifdef HAVE_SACADO_TEUCHOS 159 #include "Teuchos_PromotionTraits.hpp" 160 #include "Teuchos_ScalarTraits.hpp" 166 template <
typename ValueT,
int Num>
175 template <
typename ValueT,
int Num,
typename R>
183 template <
typename L,
typename ValueT,
int Num>
192 template <
typename ValueT,
int Num>
194 public Sacado::Fad::ScalarTraitsImp< Sacado::ELRFad::SFad<ValueT,Num> >
198 template <
typename Ordinal,
typename ValueT,
int Num>
200 public Sacado::Fad::SerializationTraitsImp< Ordinal,
201 Sacado::ELRFad::SFad<ValueT,Num> >
205 template <
typename Ordinal,
typename ValueT,
int Num>
207 public Sacado::Fad::SerializerImp< Ordinal,
208 Sacado::ELRFad::SFad<ValueT,Num>,
209 ValueTypeSerializer<Ordinal,ValueT> >
212 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
213 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
214 ValueTypeSerializer(
const Teuchos::RCP<const ValueSerializer>& vs,
219 #endif // HAVE_SACADO_TEUCHOS 221 #endif // SACADO_ELRFAD_SFADTRAITS_HPP static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
ScalarType< ELRFad::SFad< ValueT, Num > >::type scalar_type
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 std::string eval()
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const ELRFad::SFad< ValueT, Num > &x)
#define KOKKOS_INLINE_FUNCTION
static KOKKOS_INLINE_FUNCTION const value_type & eval(const ELRFad::SFad< ValueT, Num > &x)
Base template specification for testing equivalence.
static KOKKOS_INLINE_FUNCTION bool eval(const ELRFad::SFad< ValueT, Num > &x, const ELRFad::SFad< ValueT, Num > &y)
ValueType< ELRFad::SFad< ValueT, Num > >::type value_type
ELRFad::SFad< ValueT, Num >::ScalarT type
ValueType< ELRFad::SFad< ValueT, Num > >::type value_type
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.