42 #ifndef STOKHOS_IFPACK2_UQ_PCE_HPP
43 #define STOKHOS_IFPACK2_UQ_PCE_HPP
57 template <
typename XV,
class SizeType>
61 template <
typename S,
typename ... P,
class SizeType>
66 typedef Kokkos::View< Sacado::UQ::PCE<S>*,P... >
XVector;
71 typedef typename array_type::non_const_value_type
value_type;
72 typedef Kokkos::Details::ArithTraits<value_type>
KAT;
82 const typename XVector::non_const_value_type& min_val) :
85 m_min_val_mag(
KAT::
abs(m_min_val)),
89 KOKKOS_INLINE_FUNCTION
101 template<
class XV,
class SizeType>
104 template<
class S,
class ...P,
class SizeType>
106 Kokkos::
View< Sacado::UQ::PCE<S>*,P... >, SizeType > {
107 typedef Kokkos::View< Sacado::UQ::PCE<S>*,P... >
XV;
111 const typename XV::non_const_value_type& minVal)
115 "LocalReciprocalThreshold not implemented for non-constant minVal");
126 Kokkos::parallel_for( X.extent(0), op );
134 #endif // STOKHOS_IFPACK2_UQ_PCE_HPP