Refactor t_pindex
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / toputil.h
index 1c04e647045e1a496161718ad09e3e9939caeb23..beca74c6e9a00bec7cf3d10428af46dcce8cc322 100644 (file)
@@ -50,14 +50,14 @@ struct t_atoms;
 struct t_blocka;
 struct t_excls;
 struct MoleculeInformation;
-class InteractionType;
-struct InteractionTypeParameters;
+class InteractionOfType;
+struct InteractionsOfType;
 
 /* UTILITIES */
 
 int name2index(char *str, char ***typenames, int ntypes);
 
-void add_param_to_list(InteractionTypeParameters *list, const InteractionType &b);
+void add_param_to_list(InteractionsOfType *list, const InteractionOfType &b);
 
 
 
@@ -70,7 +70,7 @@ void print_atoms(FILE *out, PreprocessingAtomTypes *atype, t_atoms *at, int *cgn
                  bool bRTPresname);
 
 void print_bondeds(FILE *out, int natoms, Directive d,
-                   int ftype, int fsubtype, gmx::ArrayRef<const InteractionTypeParameters> plist);
+                   int ftype, int fsubtype, gmx::ArrayRef<const InteractionsOfType> plist);
 
 void print_excl(FILE *out, int natoms, t_excls excls[]);