Skip to content
Snippets Groups Projects
Commit c68dc400 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Call loadBalance() for the grid once all refinement steps are done

Do not call loadBalance() after each refinement.
parent 2c9cd7c5
No related branches found
No related tags found
1 merge request!44Read in deformation function on each process and adapt riemannian trustregion solver - parallel assembly works again!
......@@ -217,11 +217,11 @@ int main (int argc, char *argv[]) try
grid->adapt();
grid->loadBalance();
numLevels--;
}
grid->loadBalance();
if (mpiHelper.rank()==0)
std::cout << "There are " << grid->leafGridView().comm().size() << " processes" << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment