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