25 template <
typename Derived>
33 template <
typename Derived>
34 KOKKOS_FUNCTION
void join(Real * result,
const Real * source)
const;
35 template <
typename Derived>
36 KOKKOS_FUNCTION
void init(Real * result)
const;
39 template <
typename Derived>
44 result[0] +=
static_cast<const Derived *
>(
this)->
computeValue(0, datum);
47 template <
typename Derived>
51 result[0] += source[0];
54 template <
typename Derived>
The Kokkos object that holds thread-private data in the parallel operations of any Kokkos object...
KOKKOS_FUNCTION void init(Real *result) const
KokkosNodalSum(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
KOKKOS_FUNCTION bool isNodalDefined(const Variable &var) const
Get whether the a variable is defined on the current node.
static InputParameters validParams()
virtual void finalize() override
We provide default finalize() as getValue() has been abused to perform the final aggregation for a lo...
const Moose::Kokkos::VariableValue _u
KOKKOS_FUNCTION void join(Real *result, const Real *source) const
KOKKOS_FUNCTION const Variable & variable() const
Get the Kokkos variable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
KOKKOS_FUNCTION Real computeValue(const unsigned int qp, Datum &datum) const
KOKKOS_FUNCTION void reduce(Datum &datum, Real *result) const
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.