From: Baerbel Jannsen Date: Wed, 6 Jan 2010 13:25:43 +0000 (+0000) Subject: set_edge_matrices X-Git-Tag: v8.0.0~6676 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56cd88b37b50ef7323c4c4e1660bc818fc312d85;p=dealii.git set_edge_matrices git-svn-id: https://svn.dealii.org/trunk@20314 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index 5544d05ec4..805f0921e4 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -462,8 +462,8 @@ void StokesProblem::setup_dofs () MGTools::count_dofs_per_block (dof_handler, mg_dofs_per_component, block_component); - for (unsigned int level=0; level::solve () MGMatrix, BlockVector > mg_matrix(&mg_matrices); + MGMatrix, BlockVector > + mg_interface_up(&mg_interface_matrices); + MGMatrix, BlockVector > + mg_interface_down(&mg_interface_matrices); typedef SchurComplementSmoother::type> @@ -870,6 +874,7 @@ void StokesProblem::solve () mg_smoother, mg_smoother); mg.set_debug(3); + mg.set_edge_matrices(mg_interface_down, mg_interface_up); MGPREC preconditioner(dof_handler, mg, mg_transfer); @@ -1018,7 +1023,7 @@ int main () { try { - deallog.depth_console (0); +// deallog.depth_console (0); StokesProblem<2> flow_problem(1); flow_problem.run ();