Use const ref to mtop in init_forcerec
authorejjordan <ejjordan@kth.se>
Tue, 16 Feb 2021 17:01:11 +0000 (18:01 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 17 Feb 2021 08:27:48 +0000 (08:27 +0000)
commit8188186f8faecd3a5376c2612fd6f7c1bcfbfe89
tree7e494ce35491b947ab006daefadae4bf29ef18b2
parent2dd46f2842059bf9834547ecceef88872ff394d7
Use const ref to mtop in init_forcerec

Also lower level function, which are currently static, are
refactored to take a const ref to mtop. This will make exposing
those lower level functions safer.
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/forcerec.h
src/gromacs/mdrun/runner.cpp