Refactor md_enums
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / toppush.h
index 66df62b9d303446f36f023f708b54d2063a07cb3..302af131afab39db3b965a760e684da94c8d85d1 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2013,2014,2015,2016,2018 by the GROMACS development team.
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -54,7 +54,7 @@ class InteractionOfType;
 struct InteractionsOfType;
 struct PreprocessResidue;
 struct warninp;
-
+enum class CombinationRule : int;
 namespace gmx
 {
 template<typename>
@@ -62,7 +62,11 @@ class ArrayRef;
 struct ExclusionBlock;
 } // namespace gmx
 
-void generate_nbparams(int comb, int funct, InteractionsOfType* plist, PreprocessingAtomTypes* atype, warninp* wi);
+void generate_nbparams(CombinationRule         comb,
+                       int                     funct,
+                       InteractionsOfType*     plist,
+                       PreprocessingAtomTypes* atype,
+                       warninp*                wi);
 
 void push_at(struct t_symtab*           symtab,
              PreprocessingAtomTypes*    at,