]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
removed BAERBEL_MG_TEST
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2010 16:04:25 +0000 (16:04 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2010 16:04:25 +0000 (16:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@22084 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/multigrid.h

index f48b57a0e14d441d5eeb795192b5bcc90e47abfd..594695a656c9f94603bb61ff56e0d79976a1a9fe 100644 (file)
@@ -664,47 +664,14 @@ PreconditionMG<dim, VECTOR, TRANSFER>::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; l<max_l; ++l)
-  deallog << "defect [" << l << "] " << multigrid->defect[l].l2_norm() << std::endl;
-#endif
   multigrid->cycle();
 
-#ifdef BAERBEL_MG_TEST
-  for(unsigned int l=min_l; l<max_l; ++l)
-  deallog << "solution [" << l << "] " << multigrid->solution[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<dim> 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
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.