Write lambdas and box to TNG at correct intervals
authorMagnus Lundborg <lundborg.magnus@gmail.com>
Tue, 29 May 2018 15:19:12 +0000 (17:19 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 4 Jun 2018 13:19:24 +0000 (15:19 +0200)
commit0ffc06b3e00d3239cafdd487d05fd6e7ef70bfbd
treee2b64cce6bc188db8db3a30eef2a63c0bcda7292
parentf2df4657f25bca768493117b922d6ea0e12ed6c8
Write lambdas and box to TNG at correct intervals

Lambdas and box sizes are supposed to be written at the lowest common
denominator of the interval of all outputs to the TNG file(s). Before
this commit it was only written when other output was also written.

Fixes #2507

Change-Id: If9c7b063deccbc3a94b5c5df4b59e06ffdbeac56
src/gromacs/fileio/tngio.cpp
src/gromacs/fileio/tngio.h
src/gromacs/mdlib/mdoutf.cpp
src/gromacs/mdlib/mdoutf.h
src/gromacs/mdlib/trajectory_writing.cpp