Move IMD initialization and fuse DD setup
commit431258df7d314ac41b45d3374e1cf90e16476482
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 27 Apr 2018 13:18:13 +0000 (27 15:18 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 6 Jun 2018 22:40:57 +0000 (7 00:40 +0200)
tree846135880702847de9a40e594eb4de7219a199ce
parenteaced51e377737679a696ddc190784e046ef67a2
Move IMD initialization and fuse DD setup

init_IMD does not use the local state, and only the global state
positions on master rank, so we can move it before the local state
initialization.

This permits us to fuse some DD setup stages

Removed inaccurate comment about DD partioning.

Refs #1793

Change-Id: I00f98c22f5a17a1b9ae1114b513cfa3ea3798334
src/gromacs/imd/imd.h
src/gromacs/mdrun/md.cpp