Apply re-formatting to C++ in src/ tree.
[alexxy/gromacs.git] / src / gromacs / applied_forces / densityfitting / densityfittingamplitudelookup.cpp
index 27be15efb38e7f7ea9c0517d5a30add61bed8372..32dfd24aaefdbcd2f993f9521d2f66dbc572a8c1 100644 (file)
@@ -121,7 +121,9 @@ const std::vector<real>& ChargesAsAmplitudes::operator()(const t_mdatoms& atoms,
         amplitude_.resize(localIndex.size());
     }
 
-    std::transform(std::begin(localIndex), std::end(localIndex), std::begin(amplitude_),
+    std::transform(std::begin(localIndex),
+                   std::end(localIndex),
+                   std::begin(amplitude_),
                    [&atoms](gmx::index index) { return atoms.chargeA[index]; });
     return amplitude_;
 }
@@ -151,7 +153,9 @@ const std::vector<real>& MassesAsAmplitudes::operator()(const t_mdatoms& atoms,
         amplitude_.resize(localIndex.size());
     }
 
-    std::transform(std::begin(localIndex), std::end(localIndex), std::begin(amplitude_),
+    std::transform(std::begin(localIndex),
+                   std::end(localIndex),
+                   std::begin(amplitude_),
                    [&atoms](gmx::index index) { return atoms.massT[index]; });
     return amplitude_;
 }