Fix clang-tidy-11 errors in NBNXM module, part 3
[alexxy/gromacs.git] / src / gromacs / nbnxm / pairlistparams.h
index 9eefac4a9d656e873ccf9f3fdce68f05d5443a3b..2783ae454dd20b4f1380d87660b0f1d27a853a22 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -106,6 +106,10 @@ static constexpr gmx::EnumerationArray<PairlistType, int> IClusterSizePerListTyp
 static constexpr gmx::EnumerationArray<PairlistType, int> JClusterSizePerListType = {
     { 2, 4, 8, c_nbnxnGpuClusterSize }
 };
+//! True if given pairlist type is used on GPU, false if on CPU.
+static constexpr gmx::EnumerationArray<PairlistType, bool> sc_isGpuPairListType = {
+    { false, false, false, true }
+};
 
 /*! \internal
  * \brief The setup for generating and pruning the nbnxn pair list.