WaSH Docs
Public Member Functions | List of all members
wash::ReductionKernel Class Reference

Reduction Kernel implements a reduction operation over the particles to a specifed variable. More...

#include <kernels.hpp>

Inheritance diagram for wash::ReductionKernel:
wash::Kernel

Public Member Functions

 ReductionKernel (const MapFuncT map_func, const ReduceOp reduce_op, double *variable)
 
virtual void exec () const override
 

Detailed Description

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)


The documentation for this class was generated from the following files: