From b1ba6301b9c48b4de26ced50623fca4d87b8474d Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 27 May 2013 08:12:15 +0000 Subject: [PATCH] step-50: do not copy coarse matrix git-svn-id: https://svn.dealii.org/trunk@29633 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-50/step-50.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.5