Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / utility / mdmodulenotification.h
index c56160420d3457ae8bf6886ab386666d2895f79f..891ec575c24164bcfdf90574838f89cc4663e9db 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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.
@@ -49,6 +49,7 @@
 #include <vector>
 
 struct t_commrec;
+enum class PbcType : int;
 
 namespace gmx
 {
@@ -203,7 +204,7 @@ struct MdModulesCheckpointReadingBroadcast;
 struct MdModulesWriteCheckpointData;
 struct PeriodicBoundaryConditionType
 {
-    int pbcType;
+    PbcType pbcType;
 };
 
 struct MdModulesEnergyOutputToDensityFittingRequestChecker