43 #ifndef __Panzer_DOF_Functors_hpp__
44 #define __Panzer_DOF_Functors_hpp__
46 #include "Phalanx_MDField.hpp"
47 #include "Phalanx_KokkosDeviceTypes.hpp"
54 namespace dof_functors {
56 template <
typename ScalarT,
typename Array,
int spaceDim>
59 PHX::MDField<ScalarT,Cell,Point,Dim>
dof_ip;
69 PHX::MDField<ScalarT,Cell,Point,Dim> in_dof_ip,
76 KOKKOS_INLINE_FUNCTION
80 for (
int d=0; d<spaceDim; d++) {
91 template <
typename ScalarT,
typename Array>
94 PHX::MDField<ScalarT,Cell,Point>
dof_ip;
104 PHX::MDField<ScalarT,Cell,Point> in_dof_ip,
111 KOKKOS_INLINE_FUNCTION
125 template <
typename ScalarT,
typename Array,
int spaceDim>
128 PHX::MDField<ScalarT,Cell,Point,Dim>
dof_ip;
139 PHX::MDField<ScalarT,Cell,Point,Dim> in_dof_ip,
140 Kokkos::View<const int*,PHX::Device> in_offsets,
147 KOKKOS_INLINE_FUNCTION
150 typedef Sacado::ScalarValue<ScalarT> Value;
153 for (
int d=0; d<spaceDim; d++) {
171 template <
typename ScalarT,
typename Array>
185 PHX::MDField<ScalarT,Cell,Point> in_dof_ip,
186 Kokkos::View<const int*,PHX::Device> in_offsets,
193 KOKKOS_INLINE_FUNCTION
196 typedef Sacado::ScalarValue<ScalarT> Value;