Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / nbnxm / benchmark / bench_system.cpp
index bf2768b4146da30b8670dae73867d2f78a50a991..553f4cafd26df838b92570d1e4187bfe4bc5bc98 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.
@@ -158,7 +158,7 @@ BenchmarkSystem::BenchmarkSystem(const int multiplicationFactor)
     nonbondedParameters[1] = c12Oxygen;
 
     generateCoordinates(multiplicationFactor, &coordinates, box);
-    put_atoms_in_box(epbcXYZ, box, coordinates);
+    put_atoms_in_box(PbcType::Xyz, box, coordinates);
 
     int numAtoms = coordinates.size();
     GMX_RELEASE_ASSERT(numAtoms % numAtomsInMolecule == 0,