Initialize rollingPruningNumParts in init_plist
[alexxy/gromacs.git] / src / gromacs / nbnxm / gpu_types_common.h
index 9166a3e50a2497cfedbbee4c4a09ef4de12034e5..f3c4bd385bde7140ac08150e045e1e40ef04a466 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,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.
@@ -211,11 +211,11 @@ struct gpu_plist
     int excl_nalloc;
 
     /* parameter+variables for normal and rolling pruning */
-    //! true after search, indictes that initial pruning with outer prunning is needed
+    //! true after search, indicates that initial pruning with outer pruning is needed
     bool haveFreshList;
-    //! the number of parts/steps over which one cyle of roling pruning takes places
+    //! the number of parts/steps over which one cycle of rolling pruning takes places
     int rollingPruningNumParts;
-    //! the next part to which the roling pruning needs to be applied
+    //! the next part to which the rolling pruning needs to be applied
     int rollingPruningPart;
 };