49 #ifndef SACADO_FAD_VIEWFADTRAITS_HPP 50 #define SACADO_FAD_VIEWFADTRAITS_HPP 57 template <
typename T,
unsigned,
unsigned,
typename>
class ViewFad;
67 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
68 struct ScalarType< Fad::ViewFad<ValueT,Size,Stride,Base> > {
73 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
74 struct ValueType< Fad::ViewFad<ValueT,Size,Stride,Base> > {
79 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
80 struct IsADType< Fad::ViewFad<ValueT,Size,Stride,Base> > {
85 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
87 static const bool value =
false;
91 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
92 struct Value< Fad::ViewFad<ValueT,Size,Stride,Base> > {
100 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
110 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
113 return std::string(
"Sacado::Fad::ViewFad< ") +
118 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
119 struct IsEqual< Fad::ViewFad<ValueT,Size,Stride,Base> > {
123 return x.isEqualTo(y);
128 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
138 #endif // SACADO_FAD_DFADTRAITS_HPP 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 value_type & eval(const Fad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for IsADType.
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const Fad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for Value.
ValueType< Fad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
#define KOKKOS_INLINE_FUNCTION
Base template specification for testing equivalence.
ScalarType< Fad::ViewFad< ValueT, Size, Stride, Base > >::type scalar_type
static KOKKOS_INLINE_FUNCTION bool eval(const Fad::ViewFad< ValueT, Size, Stride, Base > &x, const Fad::ViewFad< ValueT, Size, Stride, Base > &y)
Fad::ViewFad< ValueT, Size, Stride, Base >::ScalarT type
ValueType< Fad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
Base template specification for IsScalarType.
#define SACADO_VFAD_PROMOTE_SPEC(NS)
static std::string eval()
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.