23 template <
typename Derived>
25 template <
typename Derived>
27 template <
typename Derived>
29 const unsigned int qp,
46 KOKKOS_FUNCTION
inline bool 56 template <
typename Derived>
63 return static_cast<const Derived *
>(
this)->getResidual(qp, datum);
66 template <
typename Derived>
73 return static_cast<const Derived *
>(
this)->getJacobian(qp, datum);
76 template <
typename Derived>
79 const unsigned int qp,
85 return static_cast<const Derived *
>(
this)->getOffDiagJacobian(jvar, qp, datum);
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
The base class for a user to derive their own Kokkos nodal kernels.
Moose::Kokkos::Array< ContiguousBoundaryID > _bnd_ids
Boundaries on which we should not execute this object.
KOKKOS_FUNCTION bool skipOnBoundary(const ContiguousNodeID node) const
KOKKOS_FUNCTION Real computeQpResidual(const unsigned int qp, AssemblyDatum &datum) const
KOKKOS_FUNCTION bool isBoundaryNode(ContiguousNodeID node, ContiguousBoundaryID boundary) const
Get whether a node is on a boundary.
dof_id_type ContiguousNodeID
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
The Kokkos wrapper classes for MOOSE-like variable value access.
KOKKOS_FUNCTION index_type size() const
Get the total array size.
KOKKOS_FUNCTION const Mesh & kokkosMesh() const
Get the const reference of the Kokkos mesh.
KOKKOS_FUNCTION ContiguousNodeID node() const
Get the contiguous node ID.
const unsigned int _v_var
The number of the coupled variable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Moose::Kokkos::VariableValue _v
The value of the coupled variable.
const VariableValue _u
Current solution at nodes.
KOKKOS_FUNCTION Real computeQpOffDiagJacobian(const unsigned int jvar, const unsigned int qp, AssemblyDatum &datum) const
The Kokkos object that holds thread-private data in the parallel operations of Kokkos kernels...
KOKKOS_FUNCTION Real computeQpJacobian(const unsigned int qp, AssemblyDatum &datum) const
KokkosBoundNodalKernel(const InputParameters ¶meters)