Compare trajectories to reference data
authorPascal Merz <pascal.merz@me.com>
Sun, 27 Sep 2020 11:23:20 +0000 (11:23 +0000)
committerArtem Zhmurov <zhmurov@gmail.com>
Sun, 27 Sep 2020 11:23:20 +0000 (11:23 +0000)
commit3c138cb06f752bd9dc3e91651ea592b62aefa416
tree33e2a8fdb9254be4adf877f697288a267234486a
parentca963c62c955ffad905f69f9cd108afe380f96ea
Compare trajectories to reference data

This introduces functionality to compare trajectories (x/v/f/box)
to reference data. It also allows to define the maximum number of
frames which should be checked. The latter allows to have a single
reference data, but decide based on the simulation setup (e.g.
parallelization scheme) how many frames are expected to match
before numerical divergence gets too large. To allow this, the
reference data functionality needs to give the option to ignore
unused reference frames.
src/programs/mdrun/tests/trajectorycomparison.cpp
src/programs/mdrun/tests/trajectorycomparison.h
src/testutils/refdata.cpp
src/testutils/refdata.h