Pass restraint data structures to bonded functions
authorejjordan <ejjordan@kth.se>
Thu, 18 Feb 2021 11:59:01 +0000 (12:59 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 19 Feb 2021 10:41:03 +0000 (10:41 +0000)
commitb1f5c9dd69b9a854ab392aa022470de403603160
treeddc40703c28e96ef9dd09dee3458b0917986b0ec
parent12e241d11a611d502a78361f6c310d50bb9a0c7d
Pass restraint data structures to bonded functions

This adds explicitly the t_disresdata and t_oriresdata structures to all
bonded force calculation calls, instead of passing them as members of
the t_fcdata structure. This is an unfortunate but necessary step in
order to be able to separate bondedtable_t from the two restraint
data structures. The splitting of t_fcdata into separate table data and
restraint data structures is needed to simplify the initialization of
the forcerec.
src/gromacs/gmxana/gmx_disre.cpp
src/gromacs/listed_forces/bonded.cpp
src/gromacs/listed_forces/bonded.h
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/listed_forces/tests/bonded.cpp