Apply re-formatting to C++ in src/ tree.
[alexxy/gromacs.git] / api / nblib / gmxcalculator.cpp
index d49b1d1cb56cb692381338695dfbcdaa24e1ea22..d4c8a1f4176389cc345c13e7e25fa3b6f4294d1b 100644 (file)
@@ -73,8 +73,13 @@ void GmxForceCalculator::compute(gmx::ArrayRef<const gmx::RVec> coordinateInput,
     // update the coordinates in the backend
     nbv_->convertCoordinates(gmx::AtomLocality::Local, false, coordinateInput);
 
-    nbv_->dispatchNonbondedKernel(gmx::InteractionLocality::Local, *interactionConst_, *stepWork_,
-                                  enbvClearFYes, *forcerec_, enerd_.get(), nrnb_.get());
+    nbv_->dispatchNonbondedKernel(gmx::InteractionLocality::Local,
+                                  *interactionConst_,
+                                  *stepWork_,
+                                  enbvClearFYes,
+                                  *forcerec_,
+                                  enerd_.get(),
+                                  nrnb_.get());
 
     nbv_->atomdata_add_nbat_f_to_f(gmx::AtomLocality::All, forceOutput);
 }
@@ -94,9 +99,18 @@ void GmxForceCalculator::setParticlesOnGrid(gmx::ArrayRef<const int>       parti
 
     const real particleDensity = coordinates.size() / det(legacyBox);
 
-    nbnxn_put_on_grid(nbv_.get(), legacyBox, 0, lowerCorner, upperCorner, nullptr,
-                      { 0, int(coordinates.size()) }, particleDensity, particleInfoAllVdw,
-                      coordinates, 0, nullptr);
+    nbnxn_put_on_grid(nbv_.get(),
+                      legacyBox,
+                      0,
+                      lowerCorner,
+                      upperCorner,
+                      nullptr,
+                      { 0, int(coordinates.size()) },
+                      particleDensity,
+                      particleInfoAllVdw,
+                      coordinates,
+                      0,
+                      nullptr);
 }
 
 } // namespace nblib