From: kanschat Date: Mon, 27 May 2013 22:35:54 +0000 (+0000) Subject: reorder levels and make output more machine readable X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e8f9aeaa3682d0b8ee711a0f92573b512747f93;p=dealii-svn.git reorder levels and make output more machine readable git-svn-id: https://svn.dealii.org/trunk@29652 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/multigrid/mg_transfer_prebuilt.cc b/deal.II/source/multigrid/mg_transfer_prebuilt.cc index 025e6c29c2..871cb0f37f 100644 --- a/deal.II/source/multigrid/mg_transfer_prebuilt.cc +++ b/deal.II/source/multigrid/mg_transfer_prebuilt.cc @@ -34,6 +34,8 @@ #include #include +#include + DEAL_II_NAMESPACE_OPEN @@ -249,7 +251,8 @@ void MGTransferPrebuilt::build_matrices ( std::vector global_dof_indices (dofs_per_cell); std::vector level_dof_indices (dofs_per_cell); - for (int level=mg_dof.get_tria().n_levels()-1; level>=0; --level) + // for (int level=mg_dof.get_tria().n_levels()-1; level>=0; --level) + for (unsigned int level=0; level::build_matrices ( } } } + + // If we are in debugging mode, we order the copy indices, so we get + // more reliable output for regression texts +#ifdef DEBUG + std::less > compare; + for (unsigned int level=0;level void MGTransferPrebuilt::print_indices (std::ostream& os) const { - os << "Copy indices" << std::endl; for (unsigned int level = 0;level