Refactor t_pindex
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / nm2type.cpp
index 9a7513d9f06e4599eef11315586217bd3d6087d4..437030c57b655622bb325f0eaed88210fa1a57b6 100644 (file)
@@ -192,7 +192,7 @@ static int match_str(const char *atom, const char *template_string)
 }
 
 int nm2type(int nnm, t_nm2type nm2t[], t_symtab *tab, t_atoms *atoms,
-            PreprocessingAtomTypes *atype, int *nbonds, InteractionTypeParameters *bonds)
+            PreprocessingAtomTypes *atype, int *nbonds, InteractionsOfType *bonds)
 {
     int          cur = 0;
 #define prev (1-cur)
@@ -336,7 +336,7 @@ int nm2type(int nnm, t_nm2type nm2t[], t_symtab *tab, t_atoms *atoms,
             {
                 atoms->atom[i].qB = alpha;
                 atoms->atom[i].m  = atoms->atom[i].mB = mm;
-                k                 = atype->addType(tab, atoms->atom[i], type, InteractionType({}, {}),
+                k                 = atype->addType(tab, atoms->atom[i], type, InteractionOfType({}, {}),
                                                    atoms->atom[i].type, atomnr);
             }
             atoms->atom[i].type  = k;