49 #ifndef SACADO_FAD_SFADTRAITS_HPP 50 #define SACADO_FAD_SFADTRAITS_HPP 54 #ifdef SACADO_NEW_FAD_DESIGN_IS_DEFAULT 66 template <
typename T,
int Num>
class SFad;
76 template <
typename ValueT,
int Num>
82 template <
typename ValueT,
int Num>
88 template <
typename ValueT,
int Num>
94 template <
typename ValueT,
int Num>
96 static const bool value =
false;
100 template <
typename ValueT,
int Num>
109 template <
typename ValueT,
int Num>
119 template <
typename ValueT,
int Num>
122 std::stringstream ss;
123 ss <<
"Sacado::Fad::SFad< " 130 template <
typename ValueT,
int Num>
135 return x.isEqualTo(y);
140 template <
typename ValueT,
int Num>
146 template <
typename ValueT,
int Num>
152 template <
typename ValueT,
int Num>
158 template <
typename ValueT,
int Num>
166 #ifdef HAVE_SACADO_TEUCHOS 174 template <
typename ValueT,
int Num>
183 template <
typename ValueT,
int Num,
typename R>
190 template <
typename L,
typename ValueT,
int Num>
198 template <
typename ValueT,
int Num>
200 public Sacado::Fad::ScalarTraitsImp< Sacado::Fad::SFad<ValueT,Num> >
204 template <
typename Ordinal,
typename ValueT,
int Num>
206 public Sacado::Fad::StaticSerializationTraitsImp< Ordinal,
207 Sacado::Fad::SFad<ValueT,Num> >
211 template <
typename Ordinal,
typename ValueT,
int Num>
213 public Sacado::Fad::SerializerImp< Ordinal,
214 Sacado::Fad::SFad<ValueT,Num>,
215 ValueTypeSerializer<Ordinal,ValueT> >
218 typedef ValueTypeSerializer<Ordinal,ValueT> ValueSerializer;
219 typedef Sacado::Fad::SerializerImp< Ordinal,FadType,ValueSerializer> Base;
225 #endif // HAVE_SACADO_TEUCHOS 227 #endif // SACADO_NEW_FAD_DESIGN_IS_DEFAULT 229 #endif // SACADO_FAD_SFADTRAITS_HPP static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
static KOKKOS_INLINE_FUNCTION bool eval(const Fad::SFad< ValueT, Num > &x, const Fad::SFad< ValueT, Num > &y)
Base template specification for string names of types.
ValueType< Fad::SFad< ValueT, Num > >::type value_type
Base template specification for IsADType.
static std::string eval()
Sacado::Fad::DFad< double > FadType
Base template specification for static size.
Base template specification for Value.
#define KOKKOS_INLINE_FUNCTION
ValueType< Fad::SFad< ValueT, Num > >::type value_type
Base template specification for testing equivalence.
static KOKKOS_INLINE_FUNCTION const value_type & eval(const Fad::SFad< ValueT, Num > &x)
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const Fad::SFad< ValueT, Num > &x)
ScalarType< Fad::SFad< ValueT, Num > >::type scalar_type
Fad::SFad< ValueT, Num >::ScalarT 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.