49 #ifndef SACADO_ELRFAD_VIEWFADTRAITS_HPP 50 #define SACADO_ELRFAD_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< ELRFad::ViewFad<ValueT,Size,Stride,Base> > {
73 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
74 struct ValueType< ELRFad::ViewFad<ValueT,Size,Stride,Base> > {
79 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
80 struct IsADType< ELRFad::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< ELRFad::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>
111 struct StringName< ELRFad::ViewFad<ValueT,Size,Stride,Base> > {
113 return std::string(
"Sacado::ELRFad::ViewFad< ") +
118 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
119 struct IsEqual< ELRFad::ViewFad<ValueT,Size,Stride,Base> > {
123 return x.isEqualTo(y);
128 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
138 #endif // SACADO_ELRFAD_VIEWFADTRAITS_HPP ValueType< ELRFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
static std::string eval()
Base template specification for ScalarValue.
ELRFad::ViewFad< ValueT, Size, Stride, Base >::ScalarT type
Base template specification for ScalarType.
Base template specification for string names of types.
static KOKKOS_INLINE_FUNCTION const value_type & eval(const ELRFad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for IsADType.
Base template specification for Value.
#define KOKKOS_INLINE_FUNCTION
static std::string eval()
ScalarType< ELRFad::ViewFad< ValueT, Size, Stride, Base > >::type scalar_type
static KOKKOS_INLINE_FUNCTION const scalar_type & eval(const ELRFad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for testing equivalence.
static KOKKOS_INLINE_FUNCTION bool eval(const ELRFad::ViewFad< ValueT, Size, Stride, Base > &x, const ELRFad::ViewFad< ValueT, Size, Stride, Base > &y)
Base template specification for IsScalarType.
#define SACADO_VFAD_PROMOTE_SPEC(NS)
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.
ValueType< ELRFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type