Refactor md_enums
[alexxy/gromacs.git] / src / gromacs / mdtypes / swaphistory.h
index aeb26465c1f2204e3924281d1834023d07dfb28c..81b8a88ff485133d3b86a06af4b744ba9a05bf68 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2019,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.
@@ -74,8 +74,8 @@ typedef struct swapstateIons_t
  */
 typedef struct swaphistory_t
 {
-    int  eSwapCoords; // Swapping along x, y, or z-direction?
-    int  nIonTypes;   // Number of ion types, this is the size of the following arrays
+    SwapType eSwapCoords; // Swapping along x, y, or z-direction?
+    int      nIonTypes;   // Number of ion types, this is the size of the following arrays
     int  nAverage; // Use average over this many swap attempt steps when determining the ion counts
     int  fluxleak; // Ions not going through any channel (bad!)
     int* fluxleak_p;               // Pointer to this data