Clean up PME rank variables
authorBerk Hess <hess@kth.se>
Thu, 5 Sep 2019 19:29:47 +0000 (21:29 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 9 Sep 2019 06:50:01 +0000 (08:50 +0200)
commit5915b8359132652990ff9a269e21f28a2e42b6e8
tree9508ffdedb72f6c898dc06ea22379ad9ddff2230
parentff37dc309954938241c9346b95198a56fb7d9508
Clean up PME rank variables

Clarified the naming of several PME rank count variables and added
a boolean to DDRankSetup that tells whether we use separate PME ranks.
Fixes several misuses of npmenodes, all of which did not cause issues
in pratice.

Todo: Remove npmenodes from t_commrec.

Change-Id: I03b4547c975e3ffa354b53b35abcd91b4f3f6b26
src/gromacs/domdec/domdec.cpp
src/gromacs/domdec/domdec.h
src/gromacs/domdec/domdec_internal.h
src/gromacs/domdec/domdec_setup.cpp
src/gromacs/domdec/partition.cpp
src/gromacs/mdlib/gmx_omp_nthreads.cpp
src/gromacs/taskassignment/resourcedivision.cpp