Pass restraint data structures to bonded functions
[alexxy/gromacs.git] / src / gromacs / listed_forces / listed_forces.h
index 4bed406827c1f7780c7332191d8f50cb27e15f48..d82a293b61ce5c84ae523b116be81fff440cdc05 100644 (file)
@@ -94,6 +94,8 @@ struct t_lambda;
 struct t_mdatoms;
 struct t_nrnb;
 class t_state;
+struct t_disresdata;
+struct t_oriresdata;
 
 namespace gmx
 {
@@ -117,6 +119,8 @@ using BondedFunction = real (*)(int              nbonds,
                                 real*            dvdlambda,
                                 const t_mdatoms* md,
                                 t_fcdata*        fcd,
+                                t_disresdata*    disresdata,
+                                t_oriresdata*    oriresdata,
                                 int*             ddgatindex);
 
 //! Getter for finding a callable CPU function to compute an \c ftype interaction.