Move domdec/partition into gmx namespace; minor cleanup
[alexxy/gromacs.git] / src / gromacs / domdec / nsgrid.cpp
index 095a59d2aa6f57e9b15a03a540c9681548057d86..8506189d68a4acebb75e5f782170cad93f8f0864 100644 (file)
@@ -122,8 +122,7 @@ void get_nsgrid_boundaries(int           nboundeddim,
                            int           ncg,
                            rvec*         cgcm,
                            rvec          grid_x0,
-                           rvec          grid_x1,
-                           real*         grid_density)
+                           rvec          grid_x1)
 {
     rvec av, stddev;
     real vol, bdens0, bdens1;
@@ -180,6 +179,4 @@ void get_nsgrid_boundaries(int           nboundeddim,
             fprintf(debug, "Set grid boundaries dim %d: %f %f\n", d, grid_x0[d], grid_x1[d]);
         }
     }
-
-    *grid_density = ncg / vol;
 }