152 outputValueViewType _outputValues;
153 const inputPointViewType _inputPoints;
155 const ordinal_type _order;
157 KOKKOS_INLINE_FUNCTION
158 Functor( outputValueViewType outputValues_,
159 inputPointViewType inputPoints_,
161 const ordinal_type order_ )
162 : _outputValues(outputValues_), _inputPoints(inputPoints_), _work(work_),_order(order_){}
164 KOKKOS_INLINE_FUNCTION
165 void operator()(
const size_type iter)
const {
166 const auto ptBegin = Util<ordinal_type>::min(iter*numPtsEval, _inputPoints.extent(0));
167 const auto ptEnd = Util<ordinal_type>::min(ptBegin+numPtsEval, _inputPoints.extent(0));
169 const auto ptRange = Kokkos::pair<ordinal_type,ordinal_type>(ptBegin, ptEnd);
170 const auto input = Kokkos::subview( _inputPoints, ptRange, Kokkos::ALL() );
173 case OPERATOR_VALUE : {
174 auto output = Kokkos::subview( _outputValues, Kokkos::ALL(), ptRange );
175 Serial<opType>::getValues( output, input, _work, _order );
181 const auto work = Kokkos::subview( _work, Kokkos::ALL(), ptRange, Kokkos::ALL() );
182 auto output = Kokkos::subview( _outputValues, Kokkos::ALL(), ptRange, Kokkos::ALL() );
183 Serial<opType>::getValues( output, input, work, _order);
196 auto output = Kokkos::subview( _outputValues, Kokkos::ALL(), ptRange, Kokkos::ALL() );
197 Serial<opType>::getValues( output, input, _work, _order);
201 INTREPID2_TEST_FOR_ABORT(
true,
202 ">>> ERROR: (Intrepid2::Basis_HGRAD_TET_Cn_FEM_ORTH::Functor) operator is not supported");