Add support for cumulative histograms
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 14 Aug 2014 18:49:19 +0000 (21:49 +0300)
committerDavid van der Spoel <davidvanderspoel@gmail.com>
Fri, 19 Sep 2014 13:32:18 +0000 (15:32 +0200)
commitfdad87f6637e6a59152b851bd033195f4e376c0b
tree042da1f7f26689b9f776e1be6c698dab6c13c172
parent982c4f9cd49002caeaacf9142af0f25aed3c345b
Add support for cumulative histograms

Now the final, averaged histograms computed by the analysisdata
histogram modules can also be made cumulative.  This is needed to
preserve some functionality of 'gmx rdf' when moving to the C++
framework.  For now, only the unit test is using the function.

Change-Id: Iaf7175dd904f9a615b8bd887d677aa8dc1e10f0d
src/gromacs/analysisdata/modules/histogram.cpp
src/gromacs/analysisdata/modules/histogram.h
src/gromacs/analysisdata/tests/histogram.cpp
src/gromacs/analysisdata/tests/refdata/AbstractAverageHistogramTest_ComputesCumulativeHistogram.xml [new file with mode: 0644]