21 template <
typename Derived>
24 template <
typename Derived>
25 KOKKOS_FUNCTION
void join(
Real * result,
const Real * source)
const;
26 template <
typename Derived>
27 KOKKOS_FUNCTION
void init(
Real * result)
const;
42 template <
typename Derived>
47 auto [
value,
volume] =
static_cast<const Derived *
>(
this)->computeValue(datum);
49 if (result[0] <
value)
52 if (result[1] >
value)
62 template <
typename Derived>
68 result[2] += source[2];
69 result[3] += source[3];
70 result[4] += source[4];
73 template <
typename Derived>
77 result[0] = Kokkos::Experimental::finite_min_v<Real>;
78 result[1] = Kokkos::Experimental::finite_max_v<Real>;
The Kokkos object that holds thread-private data in the parallel operations of any Kokkos object...
KOKKOS_FUNCTION void init(Real *result) const
KOKKOS_FUNCTION void reduce(Datum &datum, Real *result) const
const InputParameters & parameters() const
Get the parameters of the object.
KokkosElementStatistics(const InputParameters ¶meters)
auto max(const L &left, const R &right)
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
const std::string _base_name
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void finalize() override
Finalize.
auto min(const L &left, const R &right)
KOKKOS_FUNCTION void join(Real *result, const Real *source) const
unsigned int & _number_elements