Made t_inputrec const in PME load balancing
commit04a6b5f88fbd718f09cb9db5db42e16fffc84620
authorBerk Hess <hess@kth.se>
Fri, 20 Nov 2015 09:16:45 +0000 (20 10:16 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 2 Dec 2015 10:30:58 +0000 (2 11:30 +0100)
treeacf8e962959980abbea717626f12fe5b27b433d1
parent1f45adef9d427db88db22da44d8d681bb2c5b01c
Made t_inputrec const in PME load balancing

Now that the twin-range scheme is gone, inputrec is no longer
modified during PME load balancing. Added a const qualifier to make
this clear and enforce this during future changes.
Also added const for all const arguments in domdec_box.cpp.

Change-Id: Ie063fe3d5846e1f9565634c4561c09f3cc9b5bae
src/gromacs/domdec/domdec.cpp
src/gromacs/domdec/domdec.h
src/gromacs/domdec/domdec_box.cpp
src/gromacs/ewald/pme-load-balancing.cpp
src/gromacs/ewald/pme-load-balancing.h