From e222e9bd54e01651b8451fc650e736d5b1c6f68f Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 27 Mar 2017 15:16:41 -0400 Subject: [PATCH] Avoid multigrid deprecation warnings in step-16/39 --- examples/step-16/step-16.cc | 3 +-- examples/step-39/step-39.cc | 2 +- examples/step-56/step-56.cc | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/step-16/step-16.cc b/examples/step-16/step-16.cc index be65a4500a..06151f45b4 100644 --- a/examples/step-16/step-16.cc +++ b/examples/step-16/step-16.cc @@ -532,8 +532,7 @@ namespace Step16 // Now, we are ready to set up the V-cycle operator and the multilevel // preconditioner. - Multigrid > mg(dof_handler, - mg_matrix, + Multigrid > mg(mg_matrix, coarse_grid_solver, mg_transfer, mg_smoother, diff --git a/examples/step-39/step-39.cc b/examples/step-39/step-39.cc index b51ba0cad9..f072929674 100644 --- a/examples/step-39/step-39.cc +++ b/examples/step-39/step-39.cc @@ -718,7 +718,7 @@ namespace Step39 // Now, we are ready to set up the V-cycle operator and the multilevel // preconditioner. - Multigrid > mg(dof_handler, mgmatrix, + Multigrid > mg(mgmatrix, mg_coarse, mg_transfer, mg_smoother, mg_smoother); // Let us not forget the edge matrices needed because of the adaptive diff --git a/examples/step-56/step-56.cc b/examples/step-56/step-56.cc index 8dc96a876b..5fb81c9331 100644 --- a/examples/step-56/step-56.cc +++ b/examples/step-56/step-56.cc @@ -904,8 +904,7 @@ namespace Step56 mg::Matrix > mg_interface_down(mg_interface_matrices); // Now, we are ready to set up the V-cycle operator and the multilevel preconditioner. - Multigrid > mg(velocity_dof_handler, - mg_matrix, + Multigrid > mg(mg_matrix, coarse_grid_solver, mg_transfer, mg_smoother, -- 2.39.5