Remove isPressureCouplingStep(...)
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 1 Apr 2019 09:48:05 +0000 (11:48 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Thu, 4 Apr 2019 15:25:31 +0000 (17:25 +0200)
commit41cd145f9dedba871b9ebedb8ab1685204686397
tree27eb93049ea70560414862137f8c1dcf50fdf8b1
parent36eb547b86d6153629be5dff0b899a62706b964d
Remove isPressureCouplingStep(...)

The isPressureCouplingStep(..) subroutine is called from places,
where the type of barostat is already known and then checks for it
again. Removing this subroutine eliminates the double-checks and
improves readability of the code.

Change-Id: I5bbb0706432e16414097e87e4e0d302f669ab83f
src/gromacs/mdlib/update.cpp