Fix constraints cycle counting
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 26 Sep 2018 00:47:46 +0000 (03:47 +0300)
committerBerk Hess <hess@kth.se>
Sat, 29 Sep 2018 20:36:26 +0000 (22:36 +0200)
commit49d8b9e4c8a86bcf4e28a2c09f683d40ca1d4ec6
treed5176fdc419e0a1a31cb42939048dc1e7f467a69
parent60e3f207e16fc49386c0bec95f9d7652a173c24c
Fix constraints cycle counting

Cycle counter start/stop calls were misplaced after earlier refactoring
of the constraints code.
This change fixes the duoble-counting issues introduced and makde some
minor code simplifications.

Fixes #2652

Change-Id: I5aaed801320b11a848530b97274bc562f34fbcfe
src/gromacs/mdlib/update.cpp
src/gromacs/mdlib/update.h
src/gromacs/mdrun/md.cpp