The Kokkos wrapper classes for MOOSE-like shape function access.
More...
#include <KokkosVariableValue.h>
template<bool is_test>
class Moose::Kokkos::VariableShapeValue< is_test >
The Kokkos wrapper classes for MOOSE-like shape function access.
Definition at line 40 of file KokkosVariableValue.h.
◆ operator()()
Get the current shape function.
- Parameters
-
| datum | The AssemblyDatum object of the current thread |
| i | The element-local DOF index |
| qp | The local quadrature point index |
- Returns
- The shape function
Definition at line 50 of file KokkosVariableValue.h.
52 auto & elem = datum.
elem();
53 auto side = datum.
side();
54 auto fe = is_test ? datum.
ife() : datum.
jfe();
KOKKOS_FUNCTION const auto & getPhi(ContiguousSubdomainID subdomain, unsigned int elem_type, unsigned int fe_type) const
Get the shape functions of a FE type for an element type and subdomain.
const unsigned int invalid_uint
KOKKOS_FUNCTION const auto & getPhiFace(ContiguousSubdomainID subdomain, unsigned int elem_type, unsigned int fe_type) const
Get the face shape functions of a FE type for an element type and subdomain.
KOKKOS_FUNCTION unsigned int side() const
Get the side index.
KOKKOS_FUNCTION unsigned int jfe() const
Get the coupled variable FE type ID.
KOKKOS_FUNCTION const Assembly & assembly() const
Get the Kokkos assembly.
KOKKOS_FUNCTION unsigned int ife() const
Get the variable FE type ID.
KOKKOS_FUNCTION const ElementInfo & elem() const
Get the element information object.
The documentation for this class was generated from the following file: