More precise analysisdata histogram accumulation
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 14 Aug 2014 02:59:28 +0000 (05:59 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 19 Sep 2014 06:28:00 +0000 (08:28 +0200)
commit982c4f9cd49002caeaacf9142af0f25aed3c345b
treed3bb3514f1c55c7c1ece5079a214fbf85cebc424
parent301e6ab4c41152cfb791eaf6584abec08a96d652
More precise analysisdata histogram accumulation

Accumulate histograms within a frame as 64-bit integers (if possible) or
as double-precision values to support cases like RDFs where there can be
a very large number of points contributing to the histogram.

Add a supporting class that could be used in other analysis modules as
well to make them capable of parallel processing (at least the
AnalysisDataFrameAverager could be adapted to use this approach).
Also, make the definition of "parallelization factor" the same here
and in datastorage.*, adapting a simpler definition.

Change-Id: I63deed99d3c0d3c168d11ab0d85981f1ed6fee8d
src/gromacs/analysisdata/datastorage.cpp
src/gromacs/analysisdata/datastorage.h
src/gromacs/analysisdata/framelocaldata.h [new file with mode: 0644]
src/gromacs/analysisdata/modules/histogram.cpp
src/gromacs/analysisdata/modules/histogram.h