Make the restraint history const during force calculation
authorPascal Merz <pascal.merz@me.com>
Sun, 14 Feb 2021 20:19:32 +0000 (13:19 -0700)
committerAndrey Alekseenko <al42and@gmail.com>
Mon, 15 Feb 2021 15:51:35 +0000 (15:51 +0000)
commit19fb4da2d6bbdcb634131829f47305089f850381
treea9af9cfa04c8b9771281bf85f9d851b5d853c92c
parent501a64211968de13968a8e0a6a308effeba569eb
Make the restraint history const during force calculation

The history is updated later, and is read-only within the force
routines. Adds a few const qualifiers to clarify this.

Refs #3430
src/gromacs/listed_forces/disre.cpp
src/gromacs/listed_forces/disre.h
src/gromacs/listed_forces/listed_forces.cpp
src/gromacs/listed_forces/listed_forces.h
src/gromacs/listed_forces/orires.cpp
src/gromacs/listed_forces/orires.h
src/gromacs/mdlib/force.h
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdrun/shellfc.cpp
src/gromacs/mdrun/shellfc.h