Remove EST_DISTR from state.h
commitb866b27d39fbc6d7a3f28ffda9ca3de586c18351
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 21 Dec 2016 00:01:16 +0000 (21 11:01 +1100)
committerErik Lindahl <erik.lindahl@gmail.com>
Thu, 9 Feb 2017 15:11:08 +0000 (9 16:11 +0100)
tree4da00bef58389bd7ac214bf3a07b5f316054b996
parent99238df663851ad3bbc965de62a61f8858e757ae
Remove EST_DISTR from state.h

This was only used in DD code, and now that there are fewer per-atom
state arrays, its definition and use led to more complicated and
slower code than needed.

Refactored so that we operate directly on the only state entries that
redistribute with DD.

Localized some iteration variables while I was there.

Change-Id: I56d4d15e1c1877908c513838c3e3825a4c8a467f
src/gromacs/domdec/domdec.cpp
src/gromacs/mdtypes/state.h