|
WaSH Docs
|
Reduction Kernel implements a reduction operation over the particles to a specifed variable. More...
#include <kernels.hpp>
Public Member Functions | |
| ReductionKernel (const MapFuncT map_func, const ReduceOp reduce_op, double *variable) | |
| virtual void | exec () const override |
Reduction Kernel implements a reduction operation over the particles to a specifed variable.
This kernel may need to be used to collect a total value across all particles (e.g. sum of kinetic energy)
1.8.14