From: Timo Heister Date: Sun, 26 May 2013 16:33:03 +0000 (+0000) Subject: multigrid: handle levels!=n_global_levels X-Git-Tag: v8.0.0~422 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b58f4a8b516cf5eaaba72ef64ae9bf14eded56;p=dealii.git multigrid: handle levels!=n_global_levels git-svn-id: https://svn.dealii.org/trunk@29615 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/multigrid/mg_transfer_prebuilt.cc b/deal.II/source/multigrid/mg_transfer_prebuilt.cc index fcfd6e1dd5..c8bb1f3095 100644 --- a/deal.II/source/multigrid/mg_transfer_prebuilt.cc +++ b/deal.II/source/multigrid/mg_transfer_prebuilt.cc @@ -85,7 +85,7 @@ template void MGTransferPrebuilt::build_matrices ( const DoFHandler &mg_dof) { - const unsigned int n_levels = mg_dof.get_tria().n_levels(); + const unsigned int n_levels = mg_dof.get_tria().n_global_levels(); const unsigned int dofs_per_cell = mg_dof.get_fe().dofs_per_cell; sizes.resize(n_levels);