From 2a460432bcee9c80beee511e17f279c40f5cb8be Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Wed, 23 Apr 2014 14:34:25 +0000
Subject: [PATCH] Distribute the grid over the processors after refinement

[[Imported from SVN: r9709]]
---
 cosserat-continuum.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc
index 7fc3e3e1..dccd3aba 100644
--- a/cosserat-continuum.cc
+++ b/cosserat-continuum.cc
@@ -196,6 +196,8 @@ int main (int argc, char *argv[]) try
 
     grid->globalRefine(numLevels-1);
 
+    grid->loadBalance();
+
     typedef GridType::LeafGridView GridView;
     GridView gridView = grid->leafGridView();
 
-- 
GitLab