Make inputrec const at simulator level (leaves some TODOs)
[alexxy/gromacs.git] / src / gromacs / mdlib / update_vv.cpp
index 40b99699a8c4539b6f26ebf0141ab6a83fed822a..bd40e9b4266e8a185b3d1ad430969185046b1edf 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -75,7 +75,7 @@ void integrateVVFirstStep(int64_t                   step,
                           bool                      bInitStep,
                           gmx::StartingBehavior     startingBehavior,
                           int                       nstglobalcomm,
-                          t_inputrec*               ir,
+                          const t_inputrec*         ir,
                           t_forcerec*               fr,
                           t_commrec*                cr,
                           t_state*                  state,
@@ -299,7 +299,7 @@ void integrateVVFirstStep(int64_t                   step,
 }
 
 void integrateVVSecondStep(int64_t                                  step,
-                           t_inputrec*                              ir,
+                           const t_inputrec*                        ir,
                            t_forcerec*                              fr,
                            t_commrec*                               cr,
                            t_state*                                 state,