From: Timo Heister Date: Mon, 27 Mar 2017 19:16:41 +0000 (-0400) Subject: Avoid multigrid deprecation warnings in step-16/39 X-Git-Tag: v9.0.0-rc1~1776^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b971abc7999cc4a5fd8a5e9cf37a1fec3659861e;p=dealii.git Avoid multigrid deprecation warnings in step-16/39 --- 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,