Refactor t_pindex
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / gpp_nextnb.cpp
index 394c026e6095b76dba2c443eb766a355c6a9436f..f544dfae5075de28b6d690559ffed438447e899b 100644 (file)
@@ -340,7 +340,7 @@ static void do_gen(int       nrbonds, /* total number of bonds in s */
 
 }
 
-static void add_b(InteractionTypeParameters *bonds, int *nrf, sortable *s)
+static void add_b(InteractionsOfType *bonds, int *nrf, sortable *s)
 {
     int i = 0;
     for (const auto &bond : bonds->interactionTypes)
@@ -361,7 +361,7 @@ static void add_b(InteractionTypeParameters *bonds, int *nrf, sortable *s)
     }
 }
 
-void gen_nnb(t_nextnb *nnb, gmx::ArrayRef<InteractionTypeParameters> plist)
+void gen_nnb(t_nextnb *nnb, gmx::ArrayRef<InteractionsOfType> plist)
 {
     sortable *s;
     int       nrbonds, nrf;
@@ -442,7 +442,7 @@ sort_and_purge_nnb(t_nextnb *nnb)
 
 void generate_excl (int nrexcl,
                     int nratoms,
-                    gmx::ArrayRef<InteractionTypeParameters> plist, t_nextnb *nnb, t_blocka *excl)
+                    gmx::ArrayRef<InteractionsOfType> plist, t_nextnb *nnb, t_blocka *excl)
 {
     if (nrexcl < 0)
     {