From: Timo Heister Date: Mon, 27 May 2013 08:12:15 +0000 (+0000) Subject: step-50: do not copy coarse matrix X-Git-Tag: v8.0.0~404 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ba6301b9c48b4de26ced50623fca4d87b8474d;p=dealii.git step-50: do not copy coarse matrix git-svn-id: https://svn.dealii.org/trunk@29633 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-50/step-50.cc b/deal.II/examples/step-50/step-50.cc index 7bdde8d208..e87ffec218 100644 --- a/deal.II/examples/step-50/step-50.cc +++ b/deal.II/examples/step-50/step-50.cc @@ -820,8 +820,8 @@ namespace Step50 // pass it as an argument. mg_transfer.build_matrices(mg_dof_handler); - matrix_t coarse_matrix; - coarse_matrix.copy_from (mg_matrices[0]); + matrix_t & coarse_matrix = mg_matrices[0]; + //coarse_matrix.copy_from (mg_matrices[0]); //MGCoarseGridHouseholder coarse_grid_solver; //coarse_grid_solver.initialize (coarse_matrix); @@ -1020,7 +1020,7 @@ namespace Step50 // static const HyperBallBoundary boundary; // triangulation.set_boundary (0, boundary); - triangulation.refine_global (3); + triangulation.refine_global (1); } else triangulation.refine_global (1);