Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / applied_forces / densityfittingforceprovider.h
index 16a121ba3432d21ee32dc30e9393bac563b80678..5ceb11501dc06b6b17765b8b87bee0c4dc0f6267 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.
@@ -51,6 +51,8 @@
 #include "gromacs/mdtypes/iforceprovider.h"
 #include "gromacs/utility/classhelpers.h"
 
+enum class PbcType : int;
+
 namespace gmx
 {
 
@@ -82,7 +84,7 @@ public:
                                 basic_mdspan<const float, dynamicExtents3D> referenceDensity,
                                 const TranslateAndScale& transformationToDensityLattice,
                                 const LocalAtomSet&      localAtomSet,
-                                int                      pbcType,
+                                PbcType                  pbcType,
                                 double                   simulationTimeStep,
                                 const DensityFittingForceProviderState& state);
     ~DensityFittingForceProvider();