#2542: Support for creating and saving 1D histograms
Reporter: Wolfgang Kastaun Status: new Milestone: Version: development version Type: enhancement Priority: minor Component: Carpet
Comment (by Roland Haas):
Instead of just offering a signle type of reduction (historgram) it might be nicer (and not more work) to allow users to supply a custom “kernel” that is being called for each grid point by CarpetReduce. Something like:
``` int callback(cGH* cctkGH, CCTK_INT idx, CCTK_REAL data, void *calldata) ```
or so which would let users implement their own histogram or other reductions, eg. a maximum location reduction.
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2542/support-for-creati...