Read essential dynamics data from checkpoint at correct place, fixes #1392
authorCarsten Kutzner <ckutzne@gwdg.de>
Fri, 6 Dec 2013 10:45:48 +0000 (11:45 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 10 Jan 2014 23:18:31 +0000 (00:18 +0100)
commitda07b2ef651d7c2cdefa8a2e22606cee61672c04
treed782cc38634874f93b9ab61b865ab830d062e151
parenta9f0dd85c3eaaf703cd8c4082476d6a527e5ef4c
Read essential dynamics data from checkpoint at correct place, fixes #1392

In read_checkpoint(), the order in which the data blocks are read from .cpt
differs from the order in write_checkpoint(), read_checkpoint_data() and
list_checkpoint().
This change puts the do_cpt_EDstate() routine after the do_cpt_enerhist()
routine, as is already the case for the other checkpoint-reading functions.

Change-Id: Ib017dfbd05918b4ee8e27f1ec93523497c559936
src/gromacs/gmxlib/checkpoint.c