Commit 85f58624 authored by Iain Bethune's avatar Iain Bethune Committed by Axel Kohlmeyer
Browse files

Comments

(cherry picked from commit 638fb5c119e86f19bf1ff950a6815737b02340b5)
parent fc6270e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ void Balance::command(int narg, char **arg)
    error->all(FLERR,str);
  }

  // imbfinal = final imbalance based on final nlocal
  // imbfinal = final imbalance based on final (weighted) nlocal

  int maxfinal;
  double imbfinal = imbalance_nlocal(maxfinal);
@@ -430,7 +430,7 @@ double Balance::getcost(int i)
}

/* ----------------------------------------------------------------------
   calculate imbalance based on nlocal
   calculate imbalance based on (weighted) nlocal
   return max = max atom per proc
   return imbalance factor = max atom per proc / ave atom per proc
------------------------------------------------------------------------- */