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;
EvaluateDOFWithSens_Vector(PHX::MDField< ScalarT, Cell, Point > in_dof_basis, PHX::MDField< ScalarT, Cell, Point, Dim > in_dof_ip, Array in_basis)
PHX::MDField< ScalarT, Cell, Point > dof_basis
PHX::Device execution_space
KOKKOS_INLINE_FUNCTION void operator()(const unsigned int cell) const
EvaluateDOFWithSens_Scalar(PHX::MDField< ScalarT, Cell, Point > in_dof_basis, PHX::MDField< ScalarT, Cell, Point > in_dof_ip, Array in_basis)
PHX::Device execution_space
PHX::MDField< ScalarT, Cell, Point > dof_basis
Kokkos::View< const int *, PHX::Device > offsets
EvaluateDOFFastSens_Scalar(PHX::MDField< ScalarT, Cell, Point > in_dof_basis, PHX::MDField< ScalarT, Cell, Point > in_dof_ip, Kokkos::View< const int *, PHX::Device > in_offsets, Array in_basis)
KOKKOS_INLINE_FUNCTION void operator()(const unsigned int cell) const
EvaluateDOFFastSens_Vector(PHX::MDField< ScalarT, Cell, Point > in_dof_basis, PHX::MDField< ScalarT, Cell, Point, Dim > in_dof_ip, Kokkos::View< const int *, PHX::Device > in_offsets, Array in_basis)
PHX::MDField< ScalarT, Cell, Point > dof_ip
PHX::MDField< ScalarT, Cell, Point > dof_basis
KOKKOS_INLINE_FUNCTION void operator()(const unsigned int cell) const
PHX::MDField< ScalarT, Cell, Point, Dim > dof_ip
PHX::MDField< ScalarT, Cell, Point, Dim > dof_ip
PHX::Device execution_space
PHX::MDField< ScalarT, Cell, Point > dof_basis
PHX::Device execution_space
Kokkos::View< const int *, PHX::Device > offsets
PHX::MDField< ScalarT, Cell, Point > dof_ip
KOKKOS_INLINE_FUNCTION void operator()(const unsigned int cell) const