From 4d1f15fc86c3d4cc9c0b3daa67429da2ebf689a7 Mon Sep 17 00:00:00 2001 From: janssen Date: Mon, 20 Sep 2010 16:04:25 +0000 Subject: [PATCH] removed BAERBEL_MG_TEST git-svn-id: https://svn.dealii.org/trunk@22084 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/multigrid/multigrid.h | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/deal.II/deal.II/include/multigrid/multigrid.h b/deal.II/deal.II/include/multigrid/multigrid.h index f48b57a0e1..594695a656 100644 --- a/deal.II/deal.II/include/multigrid/multigrid.h +++ b/deal.II/deal.II/include/multigrid/multigrid.h @@ -664,47 +664,14 @@ PreconditionMG::vmult ( VECTOR2& dst, const VECTOR2& src) const { -#ifdef BAERBEL_MG_TEST - const unsigned int min_l = multigrid->solution.get_minlevel(); - const unsigned int max_l = multigrid->solution.get_maxlevel(); - deallog << "PreconditionMG in " << src.l2_norm() << std::endl; -#endif transfer->copy_to_mg(*mg_dof_handler, multigrid->defect, src); -#ifdef BAERBEL_MG_TEST - for(unsigned int l=min_l; ldefect[l].l2_norm() << std::endl; -#endif multigrid->cycle(); -#ifdef BAERBEL_MG_TEST - for(unsigned int l=min_l; lsolution[l].l2_norm() << std::endl; -#endif transfer->copy_from_mg(*mg_dof_handler, dst, multigrid->solution); -#ifdef BAERBEL_MG_TEST - deallog << "PreconditionMG out " << dst.l2_norm() << std::endl; - - /* - DataOut data_out; - data_out.attach_dof_handler (*mg_dof_handler); - VECTOR2 tmp; - tmp.reinit(dst); - tmp = dst; - transfer->constraints->distribute(tmp); - data_out.add_data_vector (tmp, "mg"); - data_out.build_patches (); - - std::ostringstream filename; - filename << "mg.gpl"; - - std::ofstream output (filename.str().c_str()); - data_out.write_gnuplot (output); - */ -#endif } -- 2.39.5