Apply clang-format-11
[alexxy/gromacs.git] / src / gromacs / selection / tests / nbsearch.cpp
index 4601e45fd5ab9526a84a0d8da766f991ee0bd986..fcc084b2dce4f41cf5a31fd488e4868cee4a48c7 100644 (file)
@@ -2,7 +2,7 @@
  * This file is part of the GROMACS molecular simulation package.
  *
  * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -85,11 +85,7 @@ public:
     struct RefPair
     {
         RefPair(int refIndex, real distance) :
-            refIndex(refIndex),
-            distance(distance),
-            bFound(false),
-            bExcluded(false),
-            bIndexed(true)
+            refIndex(refIndex), distance(distance), bFound(false), bExcluded(false), bIndexed(true)
         {
         }
 
@@ -194,9 +190,7 @@ private:
 typedef std::vector<NeighborhoodSearchTestData::RefPair> RefPairList;
 
 NeighborhoodSearchTestData::NeighborhoodSearchTestData(uint64_t seed, real cutoff) :
-    rng_(seed),
-    cutoff_(cutoff),
-    refPosCount_(0)
+    rng_(seed), cutoff_(cutoff), refPosCount_(0)
 {
     clear_mat(box_);
     set_pbc(&pbc_, PbcType::No, box_);
@@ -354,8 +348,7 @@ void ExclusionsHelper::markExcludedPairs(RefPairList* refPairs, int testIndex, c
 }
 
 ExclusionsHelper::ExclusionsHelper(int refPosCount, int testPosCount) :
-    refPosCount_(refPosCount),
-    testPosCount_(testPosCount)
+    refPosCount_(refPosCount), testPosCount_(testPosCount)
 {
     // Generate an array of 0, 1, 2, ...
     // TODO: Make the tests work also with non-trivial exclusion IDs,