40 template <
typename Derived>
42 operator()(ReducerLoop,
const ThreadID tid,
const Derived & reducer, Real * result)
const;
55 template <
typename Derived>
59 const Derived & reducer,
66 reducer.template reduce<Derived>(datum, result);
The Kokkos object that holds thread-private data in the parallel operations of any Kokkos object...
KOKKOS_FUNCTION const Assembly & kokkosAssembly() const
Get the const reference of the Kokkos assembly.
KOKKOS_FUNCTION ContiguousNodeID kokkosBoundaryNodeID(Moose::Kokkos::ThreadID tid) const
Get the contiguous node ID this Kokkos thread is operating on.
const bool _unique_node_execute
Flag for enable/disabling multiple execute calls on nodes that share block ids.
/class BoundaryRestrictable /brief Provides functionality for limiting the object to certain boundary...
KOKKOS_FUNCTION dof_id_type numKokkosBoundaryNodes() const
Get the number of nodes this Kokkos object is operating on.
virtual ThreadID numReducerThreads() const override
Get the number of threads.
const bool _bnd
Flag whether this object is boundary-restricted.
MOOSE_KOKKOS_INDEX_TYPE ThreadID
Every object that can be built by the factory should be derived from this class.
static InputParameters validParams()
NodalReducer(const MooseObject *object)
An interface that restricts an object to subdomains via the 'blocks' input parameter.
KOKKOS_FUNCTION void operator()(ReducerLoop, const ThreadID tid, const Derived &reducer, Real *result) const
The parallel computation entry function called by Kokkos.
KOKKOS_FUNCTION ContiguousElementID kokkosBlockNodeID(Moose::Kokkos::ThreadID tid) const
Get the contiguous node index this Kokkos thread is operating on.
KOKKOS_FUNCTION const Array< System > & kokkosSystems() const
Get the const reference of the Kokkos systems.
KOKKOS_FUNCTION dof_id_type numKokkosBlockNodes() const
Get the number of nodes this Kokkos object is operating on.