155 outputValueViewType _outputValues;
156 const inputPointViewType _inputPoints;
158 const ordinal_type _order;
160 KOKKOS_INLINE_FUNCTION
161 Functor( outputValueViewType outputValues_,
162 inputPointViewType inputPoints_,
164 const ordinal_type order_ )
165 : _outputValues(outputValues_), _inputPoints(inputPoints_), _work(work_),_order(order_){}
167 KOKKOS_INLINE_FUNCTION
168 void operator()(
const size_type iter)
const {
169 const auto ptBegin = Util<ordinal_type>::min(iter*numPtsEval, _inputPoints.extent(0));
170 const auto ptEnd = Util<ordinal_type>::min(ptBegin+numPtsEval, _inputPoints.extent(0));
172 const auto ptRange = Kokkos::pair<ordinal_type,ordinal_type>(ptBegin, ptEnd);
173 const auto input = Kokkos::subview( _inputPoints, ptRange, Kokkos::ALL() );
176 case OPERATOR_VALUE : {
177 auto output = Kokkos::subview( _outputValues, Kokkos::ALL(), ptRange );
178 Serial<opType>::getValues( output, input, _work, _order );
184 const auto work = Kokkos::subview( _work, Kokkos::ALL(), ptRange, Kokkos::ALL() );
185 auto output = Kokkos::subview( _outputValues, Kokkos::ALL(), ptRange, Kokkos::ALL() );
186 Serial<opType>::getValues( output, input, work, _order);
199 auto output = Kokkos::subview( _outputValues, Kokkos::ALL(), ptRange, Kokkos::ALL() );
200 Serial<opType>::getValues( output, input, _work, _order);
204 INTREPID2_TEST_FOR_ABORT(
true,
205 ">>> ERROR: (Intrepid2::Basis_HGRAD_TRI_Cn_FEM_ORTH::Functor) operator is not supported");