Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / mimic / utilities.cpp
index eaf6b4c136551cd8fc60b72389743d3c45d49210..77ae79469fae8eee6f7a340df4f1a4cc3081c6c1 100644 (file)
 
 #include "gromacs/topology/topology.h"
 
-std::vector<int> genQmmmIndices(const gmx_mtop_t &mtop)
+std::vector<int> genQmmmIndices(const gmx_mtop_tmtop)
 {
-    std::vector<int>       output;
-    int                    global_at = 0;
-    const unsigned char   *grpnr     = mtop.groups.groupNumbers[SimulationAtomGroupType::QuantumMechanics].data();
-    for (const gmx_molblock_t &molb : mtop.molblock)
+    std::vector<int>     output;
+    int                  global_at = 0;
+    const unsigned char* grpnr =
+            mtop.groups.groupNumbers[SimulationAtomGroupType::QuantumMechanics].data();
+    for (const gmx_molblock_t& molb : mtop.molblock)
     {
         for (int mol = 0; mol < molb.nmol; ++mol)
         {