--- /dev/null
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2017 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE.md at
+// the top level directory of deal.II.
+//
+// ---------------------------------------------------------------------
+
+
+// Test component_wise and block_wise renumbering with one component.
+//
+// Note that this actually doesn't do anything but we can check that it works
+// correctly (at the point when this test was written, renumbering that
+// changes the set of owned dofs is not implemented).
+
+#include <deal.II/distributed/tria.h>
+
+#include <deal.II/dofs/dof_accessor.h>
+#include <deal.II/dofs/dof_renumbering.h>
+
+#include <deal.II/fe/fe_dgq.h>
+#include <deal.II/fe/fe_q.h>
+#include <deal.II/fe/fe_system.h>
+
+#include <deal.II/grid/grid_generator.h>
+#include <deal.II/grid/tria.h>
+
+#include <algorithm>
+
+#include "../tests.h"
+
+using namespace std;
+
+
+template <int dim>
+void
+print_dof_numbers(const DoFHandler<dim> &dof)
+{
+ std::vector<types::global_dof_index> dof_indices(dof.get_fe().dofs_per_cell);
+ deallog << "DoF numbers on active cells" << std::endl;
+ for (auto cell : dof.active_cell_iterators())
+ if (!cell->is_artificial())
+ {
+ cell->get_dof_indices(dof_indices);
+ deallog << "cell " << cell->id() << ": ";
+ for (types::global_dof_index i : dof_indices)
+ deallog << i << " ";
+ deallog << std::endl;
+ }
+ for (unsigned int l = 0; l < dof.get_triangulation().n_global_levels(); ++l)
+ {
+ deallog << "DoF numbers on level " << l << std::endl;
+ for (auto cell : dof.cell_iterators_on_level(l))
+ if (cell->level_subdomain_id() != numbers::artificial_subdomain_id)
+ {
+ cell->get_mg_dof_indices(dof_indices);
+ deallog << "cell " << cell->id() << ": ";
+ for (types::global_dof_index i : dof_indices)
+ deallog << i << " ";
+ deallog << std::endl;
+ }
+ }
+}
+
+template <int dim>
+void
+check()
+{
+ dealii::parallel::distributed::Triangulation<dim> tria(
+ MPI_COMM_WORLD,
+ decltype(tria)::limit_level_difference_at_vertices,
+ decltype(tria)::construct_multigrid_hierarchy);
+ dealii::GridGenerator::hyper_cube(tria);
+ tria.refine_global(3);
+ /*
+ if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
+ tr.begin_active(tr.n_global_levels() - 1)->set_refine_flag();
+ tr.execute_coarsening_and_refinement();
+ */
+
+ auto fe_scalar = std::make_unique<dealii::FE_Q<dim>>(1);
+ auto fe = std::make_unique<dealii::FESystem<dim>>(*fe_scalar, 1);
+
+ dealii::DoFHandler<dim> dofhandler(tria);
+ dofhandler.distribute_dofs(*fe);
+ dofhandler.distribute_mg_dofs();
+
+ print_dof_numbers(dofhandler);
+
+ {
+ deallog << "::component_wise()..." << std::endl;
+ dealii::DoFRenumbering::component_wise(dofhandler);
+ deallog << "Finished fine lvl renumbering" << std::endl;
+
+ for (unsigned int lvl = 0; lvl < tria.n_global_levels(); lvl++)
+ {
+ dealii::DoFRenumbering::component_wise(dofhandler, lvl);
+ deallog << "Finished renumbering on lvl " << lvl << std::endl;
+ }
+
+ print_dof_numbers(dofhandler);
+ }
+
+ dofhandler.distribute_dofs(*fe);
+ dofhandler.distribute_mg_dofs();
+
+ {
+ deallog << "::block_wise()..." << std::endl;
+ dealii::DoFRenumbering::block_wise(dofhandler);
+ deallog << "Finished fine lvl renumbering" << std::endl;
+
+ for (unsigned int lvl = 0; lvl < tria.n_global_levels(); lvl++)
+ {
+ dealii::DoFRenumbering::block_wise(dofhandler, lvl);
+ deallog << "Finished renumbering on lvl " << lvl << std::endl;
+ }
+
+ print_dof_numbers(dofhandler);
+ }
+}
+
+
+int
+main(int argc, char **argv)
+{
+ Utilities::MPI::MPI_InitFinalize mpi(argc, argv);
+ MPILogInitAll log;
+ deallog.depth_console(5); ///////!
+
+ check<2>();
+ // check<3>();
+}
--- /dev/null
+
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:202: 45 46 48 49
+DEAL:0::cell 0_3:203: 46 47 49 50
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:212: 47 51 50 53
+DEAL:0::cell 0_3:213: 51 52 53 54
+DEAL:0::cell 0_3:220: 48 49 55 56
+DEAL:0::cell 0_3:221: 49 50 56 57
+DEAL:0::cell 0_3:222: 55 56 58 59
+DEAL:0::cell 0_3:223: 56 57 59 60
+DEAL:0::cell 0_3:230: 50 53 57 61
+DEAL:0::cell 0_3:231: 53 54 61 62
+DEAL:0::cell 0_3:232: 57 61 60 63
+DEAL:0::cell 0_3:233: 61 62 63 64
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:302: 52 65 54 67
+DEAL:0::cell 0_3:303: 65 66 67 68
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::cell 0_3:312: 66 69 68 71
+DEAL:0::cell 0_3:313: 69 70 71 72
+DEAL:0::cell 0_3:320: 54 67 62 73
+DEAL:0::cell 0_3:321: 67 68 73 74
+DEAL:0::cell 0_3:322: 62 73 64 75
+DEAL:0::cell 0_3:323: 73 74 75 76
+DEAL:0::cell 0_3:330: 68 71 74 77
+DEAL:0::cell 0_3:331: 71 72 77 78
+DEAL:0::cell 0_3:332: 74 77 76 79
+DEAL:0::cell 0_3:333: 77 78 79 80
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3
+DEAL:0::cell 0_1:1: 1 4 3 5
+DEAL:0::cell 0_1:2: 2 3 6 7
+DEAL:0::cell 0_1:3: 3 5 7 8
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3
+DEAL:0::cell 0_2:01: 1 4 3 5
+DEAL:0::cell 0_2:02: 2 3 6 7
+DEAL:0::cell 0_2:03: 3 5 7 8
+DEAL:0::cell 0_2:10: 4 9 5 10
+DEAL:0::cell 0_2:11: 9 11 10 12
+DEAL:0::cell 0_2:12: 5 10 8 13
+DEAL:0::cell 0_2:13: 10 12 13 14
+DEAL:0::cell 0_2:20: 6 7 15 16
+DEAL:0::cell 0_2:21: 7 8 16 17
+DEAL:0::cell 0_2:22: 15 16 18 19
+DEAL:0::cell 0_2:23: 16 17 19 20
+DEAL:0::cell 0_2:30: 8 13 17 21
+DEAL:0::cell 0_2:31: 13 14 21 22
+DEAL:0::cell 0_2:32: 17 21 20 23
+DEAL:0::cell 0_2:33: 21 22 23 24
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:202: 45 46 48 49
+DEAL:0::cell 0_3:203: 46 47 49 50
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:212: 47 51 50 53
+DEAL:0::cell 0_3:213: 51 52 53 54
+DEAL:0::cell 0_3:220: 48 49 55 56
+DEAL:0::cell 0_3:221: 49 50 56 57
+DEAL:0::cell 0_3:222: 55 56 58 59
+DEAL:0::cell 0_3:223: 56 57 59 60
+DEAL:0::cell 0_3:230: 50 53 57 61
+DEAL:0::cell 0_3:231: 53 54 61 62
+DEAL:0::cell 0_3:232: 57 61 60 63
+DEAL:0::cell 0_3:233: 61 62 63 64
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:302: 52 65 54 67
+DEAL:0::cell 0_3:303: 65 66 67 68
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::cell 0_3:312: 66 69 68 71
+DEAL:0::cell 0_3:313: 69 70 71 72
+DEAL:0::cell 0_3:320: 54 67 62 73
+DEAL:0::cell 0_3:321: 67 68 73 74
+DEAL:0::cell 0_3:322: 62 73 64 75
+DEAL:0::cell 0_3:323: 73 74 75 76
+DEAL:0::cell 0_3:330: 68 71 74 77
+DEAL:0::cell 0_3:331: 71 72 77 78
+DEAL:0::cell 0_3:332: 74 77 76 79
+DEAL:0::cell 0_3:333: 77 78 79 80
+DEAL:0::::component_wise()...
+DEAL:0::Finished fine lvl renumbering
+DEAL:0::Finished renumbering on lvl 0
+DEAL:0::Finished renumbering on lvl 1
+DEAL:0::Finished renumbering on lvl 2
+DEAL:0::Finished renumbering on lvl 3
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:202: 45 46 48 49
+DEAL:0::cell 0_3:203: 46 47 49 50
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:212: 47 51 50 53
+DEAL:0::cell 0_3:213: 51 52 53 54
+DEAL:0::cell 0_3:220: 48 49 55 56
+DEAL:0::cell 0_3:221: 49 50 56 57
+DEAL:0::cell 0_3:222: 55 56 58 59
+DEAL:0::cell 0_3:223: 56 57 59 60
+DEAL:0::cell 0_3:230: 50 53 57 61
+DEAL:0::cell 0_3:231: 53 54 61 62
+DEAL:0::cell 0_3:232: 57 61 60 63
+DEAL:0::cell 0_3:233: 61 62 63 64
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:302: 52 65 54 67
+DEAL:0::cell 0_3:303: 65 66 67 68
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::cell 0_3:312: 66 69 68 71
+DEAL:0::cell 0_3:313: 69 70 71 72
+DEAL:0::cell 0_3:320: 54 67 62 73
+DEAL:0::cell 0_3:321: 67 68 73 74
+DEAL:0::cell 0_3:322: 62 73 64 75
+DEAL:0::cell 0_3:323: 73 74 75 76
+DEAL:0::cell 0_3:330: 68 71 74 77
+DEAL:0::cell 0_3:331: 71 72 77 78
+DEAL:0::cell 0_3:332: 74 77 76 79
+DEAL:0::cell 0_3:333: 77 78 79 80
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3
+DEAL:0::cell 0_1:1: 1 4 3 5
+DEAL:0::cell 0_1:2: 2 3 6 7
+DEAL:0::cell 0_1:3: 3 5 7 8
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3
+DEAL:0::cell 0_2:01: 1 4 3 5
+DEAL:0::cell 0_2:02: 2 3 6 7
+DEAL:0::cell 0_2:03: 3 5 7 8
+DEAL:0::cell 0_2:10: 4 9 5 10
+DEAL:0::cell 0_2:11: 9 11 10 12
+DEAL:0::cell 0_2:12: 5 10 8 13
+DEAL:0::cell 0_2:13: 10 12 13 14
+DEAL:0::cell 0_2:20: 6 7 15 16
+DEAL:0::cell 0_2:21: 7 8 16 17
+DEAL:0::cell 0_2:22: 15 16 18 19
+DEAL:0::cell 0_2:23: 16 17 19 20
+DEAL:0::cell 0_2:30: 8 13 17 21
+DEAL:0::cell 0_2:31: 13 14 21 22
+DEAL:0::cell 0_2:32: 17 21 20 23
+DEAL:0::cell 0_2:33: 21 22 23 24
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:202: 45 46 48 49
+DEAL:0::cell 0_3:203: 46 47 49 50
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:212: 47 51 50 53
+DEAL:0::cell 0_3:213: 51 52 53 54
+DEAL:0::cell 0_3:220: 48 49 55 56
+DEAL:0::cell 0_3:221: 49 50 56 57
+DEAL:0::cell 0_3:222: 55 56 58 59
+DEAL:0::cell 0_3:223: 56 57 59 60
+DEAL:0::cell 0_3:230: 50 53 57 61
+DEAL:0::cell 0_3:231: 53 54 61 62
+DEAL:0::cell 0_3:232: 57 61 60 63
+DEAL:0::cell 0_3:233: 61 62 63 64
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:302: 52 65 54 67
+DEAL:0::cell 0_3:303: 65 66 67 68
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::cell 0_3:312: 66 69 68 71
+DEAL:0::cell 0_3:313: 69 70 71 72
+DEAL:0::cell 0_3:320: 54 67 62 73
+DEAL:0::cell 0_3:321: 67 68 73 74
+DEAL:0::cell 0_3:322: 62 73 64 75
+DEAL:0::cell 0_3:323: 73 74 75 76
+DEAL:0::cell 0_3:330: 68 71 74 77
+DEAL:0::cell 0_3:331: 71 72 77 78
+DEAL:0::cell 0_3:332: 74 77 76 79
+DEAL:0::cell 0_3:333: 77 78 79 80
+DEAL:0::::block_wise()...
+DEAL:0::Finished fine lvl renumbering
+DEAL:0::Finished renumbering on lvl 0
+DEAL:0::Finished renumbering on lvl 1
+DEAL:0::Finished renumbering on lvl 2
+DEAL:0::Finished renumbering on lvl 3
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:202: 45 46 48 49
+DEAL:0::cell 0_3:203: 46 47 49 50
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:212: 47 51 50 53
+DEAL:0::cell 0_3:213: 51 52 53 54
+DEAL:0::cell 0_3:220: 48 49 55 56
+DEAL:0::cell 0_3:221: 49 50 56 57
+DEAL:0::cell 0_3:222: 55 56 58 59
+DEAL:0::cell 0_3:223: 56 57 59 60
+DEAL:0::cell 0_3:230: 50 53 57 61
+DEAL:0::cell 0_3:231: 53 54 61 62
+DEAL:0::cell 0_3:232: 57 61 60 63
+DEAL:0::cell 0_3:233: 61 62 63 64
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:302: 52 65 54 67
+DEAL:0::cell 0_3:303: 65 66 67 68
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::cell 0_3:312: 66 69 68 71
+DEAL:0::cell 0_3:313: 69 70 71 72
+DEAL:0::cell 0_3:320: 54 67 62 73
+DEAL:0::cell 0_3:321: 67 68 73 74
+DEAL:0::cell 0_3:322: 62 73 64 75
+DEAL:0::cell 0_3:323: 73 74 75 76
+DEAL:0::cell 0_3:330: 68 71 74 77
+DEAL:0::cell 0_3:331: 71 72 77 78
+DEAL:0::cell 0_3:332: 74 77 76 79
+DEAL:0::cell 0_3:333: 77 78 79 80
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3
+DEAL:0::cell 0_1:1: 1 4 3 5
+DEAL:0::cell 0_1:2: 2 3 6 7
+DEAL:0::cell 0_1:3: 3 5 7 8
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3
+DEAL:0::cell 0_2:01: 1 4 3 5
+DEAL:0::cell 0_2:02: 2 3 6 7
+DEAL:0::cell 0_2:03: 3 5 7 8
+DEAL:0::cell 0_2:10: 4 9 5 10
+DEAL:0::cell 0_2:11: 9 11 10 12
+DEAL:0::cell 0_2:12: 5 10 8 13
+DEAL:0::cell 0_2:13: 10 12 13 14
+DEAL:0::cell 0_2:20: 6 7 15 16
+DEAL:0::cell 0_2:21: 7 8 16 17
+DEAL:0::cell 0_2:22: 15 16 18 19
+DEAL:0::cell 0_2:23: 16 17 19 20
+DEAL:0::cell 0_2:30: 8 13 17 21
+DEAL:0::cell 0_2:31: 13 14 21 22
+DEAL:0::cell 0_2:32: 17 21 20 23
+DEAL:0::cell 0_2:33: 21 22 23 24
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:202: 45 46 48 49
+DEAL:0::cell 0_3:203: 46 47 49 50
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:212: 47 51 50 53
+DEAL:0::cell 0_3:213: 51 52 53 54
+DEAL:0::cell 0_3:220: 48 49 55 56
+DEAL:0::cell 0_3:221: 49 50 56 57
+DEAL:0::cell 0_3:222: 55 56 58 59
+DEAL:0::cell 0_3:223: 56 57 59 60
+DEAL:0::cell 0_3:230: 50 53 57 61
+DEAL:0::cell 0_3:231: 53 54 61 62
+DEAL:0::cell 0_3:232: 57 61 60 63
+DEAL:0::cell 0_3:233: 61 62 63 64
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:302: 52 65 54 67
+DEAL:0::cell 0_3:303: 65 66 67 68
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::cell 0_3:312: 66 69 68 71
+DEAL:0::cell 0_3:313: 69 70 71 72
+DEAL:0::cell 0_3:320: 54 67 62 73
+DEAL:0::cell 0_3:321: 67 68 73 74
+DEAL:0::cell 0_3:322: 62 73 64 75
+DEAL:0::cell 0_3:323: 73 74 75 76
+DEAL:0::cell 0_3:330: 68 71 74 77
+DEAL:0::cell 0_3:331: 71 72 77 78
+DEAL:0::cell 0_3:332: 74 77 76 79
+DEAL:0::cell 0_3:333: 77 78 79 80
--- /dev/null
+
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3
+DEAL:0::cell 0_1:1: 1 4 3 5
+DEAL:0::cell 0_1:2: 2 3 6 7
+DEAL:0::cell 0_1:3: 3 5 7 8
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3
+DEAL:0::cell 0_2:01: 1 4 3 5
+DEAL:0::cell 0_2:02: 2 3 6 7
+DEAL:0::cell 0_2:03: 3 5 7 8
+DEAL:0::cell 0_2:10: 4 9 5 10
+DEAL:0::cell 0_2:11: 9 11 10 12
+DEAL:0::cell 0_2:12: 5 10 8 13
+DEAL:0::cell 0_2:13: 10 12 13 14
+DEAL:0::cell 0_2:20: 6 7 15 16
+DEAL:0::cell 0_2:21: 7 8 16 17
+DEAL:0::cell 0_2:30: 8 13 17 21
+DEAL:0::cell 0_2:31: 13 14 21 22
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::::component_wise()...
+DEAL:0::Finished fine lvl renumbering
+DEAL:0::Finished renumbering on lvl 0
+DEAL:0::Finished renumbering on lvl 1
+DEAL:0::Finished renumbering on lvl 2
+DEAL:0::Finished renumbering on lvl 3
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3
+DEAL:0::cell 0_1:1: 1 4 3 5
+DEAL:0::cell 0_1:2: 2 3 6 7
+DEAL:0::cell 0_1:3: 3 5 7 8
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3
+DEAL:0::cell 0_2:01: 1 4 3 5
+DEAL:0::cell 0_2:02: 2 3 6 7
+DEAL:0::cell 0_2:03: 3 5 7 8
+DEAL:0::cell 0_2:10: 4 9 5 10
+DEAL:0::cell 0_2:11: 9 11 10 12
+DEAL:0::cell 0_2:12: 5 10 8 13
+DEAL:0::cell 0_2:13: 10 12 13 14
+DEAL:0::cell 0_2:20: 6 7 15 16
+DEAL:0::cell 0_2:21: 7 8 16 17
+DEAL:0::cell 0_2:30: 8 13 17 21
+DEAL:0::cell 0_2:31: 13 14 21 22
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::::block_wise()...
+DEAL:0::Finished fine lvl renumbering
+DEAL:0::Finished renumbering on lvl 0
+DEAL:0::Finished renumbering on lvl 1
+DEAL:0::Finished renumbering on lvl 2
+DEAL:0::Finished renumbering on lvl 3
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3
+DEAL:0::cell 0_1:1: 1 4 3 5
+DEAL:0::cell 0_1:2: 2 3 6 7
+DEAL:0::cell 0_1:3: 3 5 7 8
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3
+DEAL:0::cell 0_2:01: 1 4 3 5
+DEAL:0::cell 0_2:02: 2 3 6 7
+DEAL:0::cell 0_2:03: 3 5 7 8
+DEAL:0::cell 0_2:10: 4 9 5 10
+DEAL:0::cell 0_2:11: 9 11 10 12
+DEAL:0::cell 0_2:12: 5 10 8 13
+DEAL:0::cell 0_2:13: 10 12 13 14
+DEAL:0::cell 0_2:20: 6 7 15 16
+DEAL:0::cell 0_2:21: 7 8 16 17
+DEAL:0::cell 0_2:30: 8 13 17 21
+DEAL:0::cell 0_2:31: 13 14 21 22
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3
+DEAL:0::cell 0_3:001: 1 4 3 5
+DEAL:0::cell 0_3:002: 2 3 6 7
+DEAL:0::cell 0_3:003: 3 5 7 8
+DEAL:0::cell 0_3:010: 4 9 5 10
+DEAL:0::cell 0_3:011: 9 11 10 12
+DEAL:0::cell 0_3:012: 5 10 8 13
+DEAL:0::cell 0_3:013: 10 12 13 14
+DEAL:0::cell 0_3:020: 6 7 15 16
+DEAL:0::cell 0_3:021: 7 8 16 17
+DEAL:0::cell 0_3:022: 15 16 18 19
+DEAL:0::cell 0_3:023: 16 17 19 20
+DEAL:0::cell 0_3:030: 8 13 17 21
+DEAL:0::cell 0_3:031: 13 14 21 22
+DEAL:0::cell 0_3:032: 17 21 20 23
+DEAL:0::cell 0_3:033: 21 22 23 24
+DEAL:0::cell 0_3:100: 11 25 12 26
+DEAL:0::cell 0_3:101: 25 27 26 28
+DEAL:0::cell 0_3:102: 12 26 14 29
+DEAL:0::cell 0_3:103: 26 28 29 30
+DEAL:0::cell 0_3:110: 27 31 28 32
+DEAL:0::cell 0_3:111: 31 33 32 34
+DEAL:0::cell 0_3:112: 28 32 30 35
+DEAL:0::cell 0_3:113: 32 34 35 36
+DEAL:0::cell 0_3:120: 14 29 22 37
+DEAL:0::cell 0_3:121: 29 30 37 38
+DEAL:0::cell 0_3:122: 22 37 24 39
+DEAL:0::cell 0_3:123: 37 38 39 40
+DEAL:0::cell 0_3:130: 30 35 38 41
+DEAL:0::cell 0_3:131: 35 36 41 42
+DEAL:0::cell 0_3:132: 38 41 40 43
+DEAL:0::cell 0_3:133: 41 42 43 44
+DEAL:0::cell 0_3:200: 18 19 45 46
+DEAL:0::cell 0_3:201: 19 20 46 47
+DEAL:0::cell 0_3:210: 20 23 47 51
+DEAL:0::cell 0_3:211: 23 24 51 52
+DEAL:0::cell 0_3:300: 24 39 52 65
+DEAL:0::cell 0_3:301: 39 40 65 66
+DEAL:0::cell 0_3:310: 40 43 66 69
+DEAL:0::cell 0_3:311: 43 44 69 70
+
+DEAL:1::DoF numbers on active cells
+DEAL:1::cell 0_3:022: 15 16 18 19
+DEAL:1::cell 0_3:023: 16 17 19 20
+DEAL:1::cell 0_3:032: 17 21 20 23
+DEAL:1::cell 0_3:033: 21 22 23 24
+DEAL:1::cell 0_3:122: 22 37 24 39
+DEAL:1::cell 0_3:123: 37 38 39 40
+DEAL:1::cell 0_3:132: 38 41 40 43
+DEAL:1::cell 0_3:133: 41 42 43 44
+DEAL:1::cell 0_3:200: 18 19 45 46
+DEAL:1::cell 0_3:201: 19 20 46 47
+DEAL:1::cell 0_3:202: 45 46 48 49
+DEAL:1::cell 0_3:203: 46 47 49 50
+DEAL:1::cell 0_3:210: 20 23 47 51
+DEAL:1::cell 0_3:211: 23 24 51 52
+DEAL:1::cell 0_3:212: 47 51 50 53
+DEAL:1::cell 0_3:213: 51 52 53 54
+DEAL:1::cell 0_3:220: 48 49 55 56
+DEAL:1::cell 0_3:221: 49 50 56 57
+DEAL:1::cell 0_3:222: 55 56 58 59
+DEAL:1::cell 0_3:223: 56 57 59 60
+DEAL:1::cell 0_3:230: 50 53 57 61
+DEAL:1::cell 0_3:231: 53 54 61 62
+DEAL:1::cell 0_3:232: 57 61 60 63
+DEAL:1::cell 0_3:233: 61 62 63 64
+DEAL:1::cell 0_3:300: 24 39 52 65
+DEAL:1::cell 0_3:301: 39 40 65 66
+DEAL:1::cell 0_3:302: 52 65 54 67
+DEAL:1::cell 0_3:303: 65 66 67 68
+DEAL:1::cell 0_3:310: 40 43 66 69
+DEAL:1::cell 0_3:311: 43 44 69 70
+DEAL:1::cell 0_3:312: 66 69 68 71
+DEAL:1::cell 0_3:313: 69 70 71 72
+DEAL:1::cell 0_3:320: 54 67 62 73
+DEAL:1::cell 0_3:321: 67 68 73 74
+DEAL:1::cell 0_3:322: 62 73 64 75
+DEAL:1::cell 0_3:323: 73 74 75 76
+DEAL:1::cell 0_3:330: 68 71 74 77
+DEAL:1::cell 0_3:331: 71 72 77 78
+DEAL:1::cell 0_3:332: 74 77 76 79
+DEAL:1::cell 0_3:333: 77 78 79 80
+DEAL:1::DoF numbers on level 0
+DEAL:1::cell 0_0:: 0 1 2 3
+DEAL:1::DoF numbers on level 1
+DEAL:1::cell 0_1:0: 0 1 2 3
+DEAL:1::cell 0_1:1: 1 4 3 5
+DEAL:1::cell 0_1:2: 2 3 6 7
+DEAL:1::cell 0_1:3: 3 5 7 8
+DEAL:1::DoF numbers on level 2
+DEAL:1::cell 0_2:02: 2 3 6 7
+DEAL:1::cell 0_2:03: 3 5 7 8
+DEAL:1::cell 0_2:12: 5 10 8 13
+DEAL:1::cell 0_2:13: 10 12 13 14
+DEAL:1::cell 0_2:20: 6 7 15 16
+DEAL:1::cell 0_2:21: 7 8 16 17
+DEAL:1::cell 0_2:22: 15 16 18 19
+DEAL:1::cell 0_2:23: 16 17 19 20
+DEAL:1::cell 0_2:30: 8 13 17 21
+DEAL:1::cell 0_2:31: 13 14 21 22
+DEAL:1::cell 0_2:32: 17 21 20 23
+DEAL:1::cell 0_2:33: 21 22 23 24
+DEAL:1::DoF numbers on level 3
+DEAL:1::cell 0_3:022: 15 16 18 19
+DEAL:1::cell 0_3:023: 16 17 19 20
+DEAL:1::cell 0_3:032: 17 21 20 23
+DEAL:1::cell 0_3:033: 21 22 23 24
+DEAL:1::cell 0_3:122: 22 37 24 39
+DEAL:1::cell 0_3:123: 37 38 39 40
+DEAL:1::cell 0_3:132: 38 41 40 43
+DEAL:1::cell 0_3:133: 41 42 43 44
+DEAL:1::cell 0_3:200: 18 19 45 46
+DEAL:1::cell 0_3:201: 19 20 46 47
+DEAL:1::cell 0_3:202: 45 46 48 49
+DEAL:1::cell 0_3:203: 46 47 49 50
+DEAL:1::cell 0_3:210: 20 23 47 51
+DEAL:1::cell 0_3:211: 23 24 51 52
+DEAL:1::cell 0_3:212: 47 51 50 53
+DEAL:1::cell 0_3:213: 51 52 53 54
+DEAL:1::cell 0_3:220: 48 49 55 56
+DEAL:1::cell 0_3:221: 49 50 56 57
+DEAL:1::cell 0_3:222: 55 56 58 59
+DEAL:1::cell 0_3:223: 56 57 59 60
+DEAL:1::cell 0_3:230: 50 53 57 61
+DEAL:1::cell 0_3:231: 53 54 61 62
+DEAL:1::cell 0_3:232: 57 61 60 63
+DEAL:1::cell 0_3:233: 61 62 63 64
+DEAL:1::cell 0_3:300: 24 39 52 65
+DEAL:1::cell 0_3:301: 39 40 65 66
+DEAL:1::cell 0_3:302: 52 65 54 67
+DEAL:1::cell 0_3:303: 65 66 67 68
+DEAL:1::cell 0_3:310: 40 43 66 69
+DEAL:1::cell 0_3:311: 43 44 69 70
+DEAL:1::cell 0_3:312: 66 69 68 71
+DEAL:1::cell 0_3:313: 69 70 71 72
+DEAL:1::cell 0_3:320: 54 67 62 73
+DEAL:1::cell 0_3:321: 67 68 73 74
+DEAL:1::cell 0_3:322: 62 73 64 75
+DEAL:1::cell 0_3:323: 73 74 75 76
+DEAL:1::cell 0_3:330: 68 71 74 77
+DEAL:1::cell 0_3:331: 71 72 77 78
+DEAL:1::cell 0_3:332: 74 77 76 79
+DEAL:1::cell 0_3:333: 77 78 79 80
+DEAL:1::::component_wise()...
+DEAL:1::Finished fine lvl renumbering
+DEAL:1::Finished renumbering on lvl 0
+DEAL:1::Finished renumbering on lvl 1
+DEAL:1::Finished renumbering on lvl 2
+DEAL:1::Finished renumbering on lvl 3
+DEAL:1::DoF numbers on active cells
+DEAL:1::cell 0_3:022: 15 16 18 19
+DEAL:1::cell 0_3:023: 16 17 19 20
+DEAL:1::cell 0_3:032: 17 21 20 23
+DEAL:1::cell 0_3:033: 21 22 23 24
+DEAL:1::cell 0_3:122: 22 37 24 39
+DEAL:1::cell 0_3:123: 37 38 39 40
+DEAL:1::cell 0_3:132: 38 41 40 43
+DEAL:1::cell 0_3:133: 41 42 43 44
+DEAL:1::cell 0_3:200: 18 19 45 46
+DEAL:1::cell 0_3:201: 19 20 46 47
+DEAL:1::cell 0_3:202: 45 46 48 49
+DEAL:1::cell 0_3:203: 46 47 49 50
+DEAL:1::cell 0_3:210: 20 23 47 51
+DEAL:1::cell 0_3:211: 23 24 51 52
+DEAL:1::cell 0_3:212: 47 51 50 53
+DEAL:1::cell 0_3:213: 51 52 53 54
+DEAL:1::cell 0_3:220: 48 49 55 56
+DEAL:1::cell 0_3:221: 49 50 56 57
+DEAL:1::cell 0_3:222: 55 56 58 59
+DEAL:1::cell 0_3:223: 56 57 59 60
+DEAL:1::cell 0_3:230: 50 53 57 61
+DEAL:1::cell 0_3:231: 53 54 61 62
+DEAL:1::cell 0_3:232: 57 61 60 63
+DEAL:1::cell 0_3:233: 61 62 63 64
+DEAL:1::cell 0_3:300: 24 39 52 65
+DEAL:1::cell 0_3:301: 39 40 65 66
+DEAL:1::cell 0_3:302: 52 65 54 67
+DEAL:1::cell 0_3:303: 65 66 67 68
+DEAL:1::cell 0_3:310: 40 43 66 69
+DEAL:1::cell 0_3:311: 43 44 69 70
+DEAL:1::cell 0_3:312: 66 69 68 71
+DEAL:1::cell 0_3:313: 69 70 71 72
+DEAL:1::cell 0_3:320: 54 67 62 73
+DEAL:1::cell 0_3:321: 67 68 73 74
+DEAL:1::cell 0_3:322: 62 73 64 75
+DEAL:1::cell 0_3:323: 73 74 75 76
+DEAL:1::cell 0_3:330: 68 71 74 77
+DEAL:1::cell 0_3:331: 71 72 77 78
+DEAL:1::cell 0_3:332: 74 77 76 79
+DEAL:1::cell 0_3:333: 77 78 79 80
+DEAL:1::DoF numbers on level 0
+DEAL:1::cell 0_0:: 0 1 2 3
+DEAL:1::DoF numbers on level 1
+DEAL:1::cell 0_1:0: 0 1 2 3
+DEAL:1::cell 0_1:1: 1 4 3 5
+DEAL:1::cell 0_1:2: 2 3 6 7
+DEAL:1::cell 0_1:3: 3 5 7 8
+DEAL:1::DoF numbers on level 2
+DEAL:1::cell 0_2:02: 2 3 6 7
+DEAL:1::cell 0_2:03: 3 5 7 8
+DEAL:1::cell 0_2:12: 5 10 8 13
+DEAL:1::cell 0_2:13: 10 12 13 14
+DEAL:1::cell 0_2:20: 6 7 15 16
+DEAL:1::cell 0_2:21: 7 8 16 17
+DEAL:1::cell 0_2:22: 15 16 18 19
+DEAL:1::cell 0_2:23: 16 17 19 20
+DEAL:1::cell 0_2:30: 8 13 17 21
+DEAL:1::cell 0_2:31: 13 14 21 22
+DEAL:1::cell 0_2:32: 17 21 20 23
+DEAL:1::cell 0_2:33: 21 22 23 24
+DEAL:1::DoF numbers on level 3
+DEAL:1::cell 0_3:022: 15 16 18 19
+DEAL:1::cell 0_3:023: 16 17 19 20
+DEAL:1::cell 0_3:032: 17 21 20 23
+DEAL:1::cell 0_3:033: 21 22 23 24
+DEAL:1::cell 0_3:122: 22 37 24 39
+DEAL:1::cell 0_3:123: 37 38 39 40
+DEAL:1::cell 0_3:132: 38 41 40 43
+DEAL:1::cell 0_3:133: 41 42 43 44
+DEAL:1::cell 0_3:200: 18 19 45 46
+DEAL:1::cell 0_3:201: 19 20 46 47
+DEAL:1::cell 0_3:202: 45 46 48 49
+DEAL:1::cell 0_3:203: 46 47 49 50
+DEAL:1::cell 0_3:210: 20 23 47 51
+DEAL:1::cell 0_3:211: 23 24 51 52
+DEAL:1::cell 0_3:212: 47 51 50 53
+DEAL:1::cell 0_3:213: 51 52 53 54
+DEAL:1::cell 0_3:220: 48 49 55 56
+DEAL:1::cell 0_3:221: 49 50 56 57
+DEAL:1::cell 0_3:222: 55 56 58 59
+DEAL:1::cell 0_3:223: 56 57 59 60
+DEAL:1::cell 0_3:230: 50 53 57 61
+DEAL:1::cell 0_3:231: 53 54 61 62
+DEAL:1::cell 0_3:232: 57 61 60 63
+DEAL:1::cell 0_3:233: 61 62 63 64
+DEAL:1::cell 0_3:300: 24 39 52 65
+DEAL:1::cell 0_3:301: 39 40 65 66
+DEAL:1::cell 0_3:302: 52 65 54 67
+DEAL:1::cell 0_3:303: 65 66 67 68
+DEAL:1::cell 0_3:310: 40 43 66 69
+DEAL:1::cell 0_3:311: 43 44 69 70
+DEAL:1::cell 0_3:312: 66 69 68 71
+DEAL:1::cell 0_3:313: 69 70 71 72
+DEAL:1::cell 0_3:320: 54 67 62 73
+DEAL:1::cell 0_3:321: 67 68 73 74
+DEAL:1::cell 0_3:322: 62 73 64 75
+DEAL:1::cell 0_3:323: 73 74 75 76
+DEAL:1::cell 0_3:330: 68 71 74 77
+DEAL:1::cell 0_3:331: 71 72 77 78
+DEAL:1::cell 0_3:332: 74 77 76 79
+DEAL:1::cell 0_3:333: 77 78 79 80
+DEAL:1::::block_wise()...
+DEAL:1::Finished fine lvl renumbering
+DEAL:1::Finished renumbering on lvl 0
+DEAL:1::Finished renumbering on lvl 1
+DEAL:1::Finished renumbering on lvl 2
+DEAL:1::Finished renumbering on lvl 3
+DEAL:1::DoF numbers on active cells
+DEAL:1::cell 0_3:022: 15 16 18 19
+DEAL:1::cell 0_3:023: 16 17 19 20
+DEAL:1::cell 0_3:032: 17 21 20 23
+DEAL:1::cell 0_3:033: 21 22 23 24
+DEAL:1::cell 0_3:122: 22 37 24 39
+DEAL:1::cell 0_3:123: 37 38 39 40
+DEAL:1::cell 0_3:132: 38 41 40 43
+DEAL:1::cell 0_3:133: 41 42 43 44
+DEAL:1::cell 0_3:200: 18 19 45 46
+DEAL:1::cell 0_3:201: 19 20 46 47
+DEAL:1::cell 0_3:202: 45 46 48 49
+DEAL:1::cell 0_3:203: 46 47 49 50
+DEAL:1::cell 0_3:210: 20 23 47 51
+DEAL:1::cell 0_3:211: 23 24 51 52
+DEAL:1::cell 0_3:212: 47 51 50 53
+DEAL:1::cell 0_3:213: 51 52 53 54
+DEAL:1::cell 0_3:220: 48 49 55 56
+DEAL:1::cell 0_3:221: 49 50 56 57
+DEAL:1::cell 0_3:222: 55 56 58 59
+DEAL:1::cell 0_3:223: 56 57 59 60
+DEAL:1::cell 0_3:230: 50 53 57 61
+DEAL:1::cell 0_3:231: 53 54 61 62
+DEAL:1::cell 0_3:232: 57 61 60 63
+DEAL:1::cell 0_3:233: 61 62 63 64
+DEAL:1::cell 0_3:300: 24 39 52 65
+DEAL:1::cell 0_3:301: 39 40 65 66
+DEAL:1::cell 0_3:302: 52 65 54 67
+DEAL:1::cell 0_3:303: 65 66 67 68
+DEAL:1::cell 0_3:310: 40 43 66 69
+DEAL:1::cell 0_3:311: 43 44 69 70
+DEAL:1::cell 0_3:312: 66 69 68 71
+DEAL:1::cell 0_3:313: 69 70 71 72
+DEAL:1::cell 0_3:320: 54 67 62 73
+DEAL:1::cell 0_3:321: 67 68 73 74
+DEAL:1::cell 0_3:322: 62 73 64 75
+DEAL:1::cell 0_3:323: 73 74 75 76
+DEAL:1::cell 0_3:330: 68 71 74 77
+DEAL:1::cell 0_3:331: 71 72 77 78
+DEAL:1::cell 0_3:332: 74 77 76 79
+DEAL:1::cell 0_3:333: 77 78 79 80
+DEAL:1::DoF numbers on level 0
+DEAL:1::cell 0_0:: 0 1 2 3
+DEAL:1::DoF numbers on level 1
+DEAL:1::cell 0_1:0: 0 1 2 3
+DEAL:1::cell 0_1:1: 1 4 3 5
+DEAL:1::cell 0_1:2: 2 3 6 7
+DEAL:1::cell 0_1:3: 3 5 7 8
+DEAL:1::DoF numbers on level 2
+DEAL:1::cell 0_2:02: 2 3 6 7
+DEAL:1::cell 0_2:03: 3 5 7 8
+DEAL:1::cell 0_2:12: 5 10 8 13
+DEAL:1::cell 0_2:13: 10 12 13 14
+DEAL:1::cell 0_2:20: 6 7 15 16
+DEAL:1::cell 0_2:21: 7 8 16 17
+DEAL:1::cell 0_2:22: 15 16 18 19
+DEAL:1::cell 0_2:23: 16 17 19 20
+DEAL:1::cell 0_2:30: 8 13 17 21
+DEAL:1::cell 0_2:31: 13 14 21 22
+DEAL:1::cell 0_2:32: 17 21 20 23
+DEAL:1::cell 0_2:33: 21 22 23 24
+DEAL:1::DoF numbers on level 3
+DEAL:1::cell 0_3:022: 15 16 18 19
+DEAL:1::cell 0_3:023: 16 17 19 20
+DEAL:1::cell 0_3:032: 17 21 20 23
+DEAL:1::cell 0_3:033: 21 22 23 24
+DEAL:1::cell 0_3:122: 22 37 24 39
+DEAL:1::cell 0_3:123: 37 38 39 40
+DEAL:1::cell 0_3:132: 38 41 40 43
+DEAL:1::cell 0_3:133: 41 42 43 44
+DEAL:1::cell 0_3:200: 18 19 45 46
+DEAL:1::cell 0_3:201: 19 20 46 47
+DEAL:1::cell 0_3:202: 45 46 48 49
+DEAL:1::cell 0_3:203: 46 47 49 50
+DEAL:1::cell 0_3:210: 20 23 47 51
+DEAL:1::cell 0_3:211: 23 24 51 52
+DEAL:1::cell 0_3:212: 47 51 50 53
+DEAL:1::cell 0_3:213: 51 52 53 54
+DEAL:1::cell 0_3:220: 48 49 55 56
+DEAL:1::cell 0_3:221: 49 50 56 57
+DEAL:1::cell 0_3:222: 55 56 58 59
+DEAL:1::cell 0_3:223: 56 57 59 60
+DEAL:1::cell 0_3:230: 50 53 57 61
+DEAL:1::cell 0_3:231: 53 54 61 62
+DEAL:1::cell 0_3:232: 57 61 60 63
+DEAL:1::cell 0_3:233: 61 62 63 64
+DEAL:1::cell 0_3:300: 24 39 52 65
+DEAL:1::cell 0_3:301: 39 40 65 66
+DEAL:1::cell 0_3:302: 52 65 54 67
+DEAL:1::cell 0_3:303: 65 66 67 68
+DEAL:1::cell 0_3:310: 40 43 66 69
+DEAL:1::cell 0_3:311: 43 44 69 70
+DEAL:1::cell 0_3:312: 66 69 68 71
+DEAL:1::cell 0_3:313: 69 70 71 72
+DEAL:1::cell 0_3:320: 54 67 62 73
+DEAL:1::cell 0_3:321: 67 68 73 74
+DEAL:1::cell 0_3:322: 62 73 64 75
+DEAL:1::cell 0_3:323: 73 74 75 76
+DEAL:1::cell 0_3:330: 68 71 74 77
+DEAL:1::cell 0_3:331: 71 72 77 78
+DEAL:1::cell 0_3:332: 74 77 76 79
+DEAL:1::cell 0_3:333: 77 78 79 80
+
--- /dev/null
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2017 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE.md at
+// the top level directory of deal.II.
+//
+// ---------------------------------------------------------------------
+
+
+// Testcase from https://github.com/dealii/dealii/issues/7174 that shows
+// broken DoF renumbering when using GMG
+
+// Note: This test currently only works in serial and asserts when run with
+// more than one processor.
+
+#include <deal.II/distributed/tria.h>
+
+#include <deal.II/dofs/dof_accessor.h>
+#include <deal.II/dofs/dof_renumbering.h>
+
+#include <deal.II/fe/fe_dgq.h>
+#include <deal.II/fe/fe_q.h>
+#include <deal.II/fe/fe_system.h>
+
+#include <deal.II/grid/grid_generator.h>
+#include <deal.II/grid/tria.h>
+
+#include <algorithm>
+
+#include "../tests.h"
+
+using namespace std;
+
+
+template <int dim>
+void
+print_dof_numbers(const DoFHandler<dim> &dof)
+{
+ std::vector<types::global_dof_index> dof_indices(dof.get_fe().dofs_per_cell);
+ deallog << "DoF numbers on active cells" << std::endl;
+ for (auto cell : dof.active_cell_iterators())
+ if (!cell->is_artificial())
+ {
+ cell->get_dof_indices(dof_indices);
+ deallog << "cell " << cell->id() << ": ";
+ for (types::global_dof_index i : dof_indices)
+ deallog << i << " ";
+ deallog << std::endl;
+ }
+ for (unsigned int l = 0; l < dof.get_triangulation().n_global_levels(); ++l)
+ {
+ deallog << "DoF numbers on level " << l << std::endl;
+ for (auto cell : dof.cell_iterators_on_level(l))
+ if (cell->level_subdomain_id() != numbers::artificial_subdomain_id)
+ {
+ cell->get_mg_dof_indices(dof_indices);
+ deallog << "cell " << cell->id() << ": ";
+ for (types::global_dof_index i : dof_indices)
+ deallog << i << " ";
+ deallog << std::endl;
+ }
+ }
+}
+
+template <int dim>
+void
+check()
+{
+ dealii::parallel::distributed::Triangulation<dim> tria(
+ MPI_COMM_WORLD,
+ decltype(tria)::limit_level_difference_at_vertices,
+ decltype(tria)::construct_multigrid_hierarchy);
+ dealii::GridGenerator::hyper_cube(tria);
+ tria.refine_global(3);
+ /*
+ if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
+ tr.begin_active(tr.n_global_levels() - 1)->set_refine_flag();
+ tr.execute_coarsening_and_refinement();
+ */
+
+ auto fe_scalar = std::make_unique<dealii::FE_Q<dim>>(1);
+ auto fe = std::make_unique<dealii::FESystem<dim>>(*fe_scalar, dim);
+
+ dealii::DoFHandler<dim> dofhandler(tria);
+ dofhandler.distribute_dofs(*fe);
+ dofhandler.distribute_mg_dofs();
+
+ print_dof_numbers(dofhandler);
+
+ dealii::DoFRenumbering::component_wise(dofhandler);
+ deallog << "Finished fine lvl renumbering" << std::endl;
+
+ for (unsigned int lvl = 0; lvl < tria.n_global_levels(); lvl++)
+ {
+ dealii::DoFRenumbering::component_wise(dofhandler, lvl);
+ deallog << "Finished renumbering on lvl " << lvl << std::endl;
+ }
+
+ print_dof_numbers(dofhandler);
+}
+
+
+int
+main(int argc, char **argv)
+{
+ Utilities::MPI::MPI_InitFinalize mpi(argc, argv);
+ MPILogInitAll log;
+ deallog.depth_console(5); ///////!
+
+ check<2>();
+ // check<3>();
+}
--- /dev/null
+
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 1 2 3 4 5 6 7
+DEAL:0::cell 0_3:001: 2 3 8 9 6 7 10 11
+DEAL:0::cell 0_3:002: 4 5 6 7 12 13 14 15
+DEAL:0::cell 0_3:003: 6 7 10 11 14 15 16 17
+DEAL:0::cell 0_3:010: 8 9 18 19 10 11 20 21
+DEAL:0::cell 0_3:011: 18 19 22 23 20 21 24 25
+DEAL:0::cell 0_3:012: 10 11 20 21 16 17 26 27
+DEAL:0::cell 0_3:013: 20 21 24 25 26 27 28 29
+DEAL:0::cell 0_3:020: 12 13 14 15 30 31 32 33
+DEAL:0::cell 0_3:021: 14 15 16 17 32 33 34 35
+DEAL:0::cell 0_3:022: 30 31 32 33 36 37 38 39
+DEAL:0::cell 0_3:023: 32 33 34 35 38 39 40 41
+DEAL:0::cell 0_3:030: 16 17 26 27 34 35 42 43
+DEAL:0::cell 0_3:031: 26 27 28 29 42 43 44 45
+DEAL:0::cell 0_3:032: 34 35 42 43 40 41 46 47
+DEAL:0::cell 0_3:033: 42 43 44 45 46 47 48 49
+DEAL:0::cell 0_3:100: 22 23 50 51 24 25 52 53
+DEAL:0::cell 0_3:101: 50 51 54 55 52 53 56 57
+DEAL:0::cell 0_3:102: 24 25 52 53 28 29 58 59
+DEAL:0::cell 0_3:103: 52 53 56 57 58 59 60 61
+DEAL:0::cell 0_3:110: 54 55 62 63 56 57 64 65
+DEAL:0::cell 0_3:111: 62 63 66 67 64 65 68 69
+DEAL:0::cell 0_3:112: 56 57 64 65 60 61 70 71
+DEAL:0::cell 0_3:113: 64 65 68 69 70 71 72 73
+DEAL:0::cell 0_3:120: 28 29 58 59 44 45 74 75
+DEAL:0::cell 0_3:121: 58 59 60 61 74 75 76 77
+DEAL:0::cell 0_3:122: 44 45 74 75 48 49 78 79
+DEAL:0::cell 0_3:123: 74 75 76 77 78 79 80 81
+DEAL:0::cell 0_3:130: 60 61 70 71 76 77 82 83
+DEAL:0::cell 0_3:131: 70 71 72 73 82 83 84 85
+DEAL:0::cell 0_3:132: 76 77 82 83 80 81 86 87
+DEAL:0::cell 0_3:133: 82 83 84 85 86 87 88 89
+DEAL:0::cell 0_3:200: 36 37 38 39 90 91 92 93
+DEAL:0::cell 0_3:201: 38 39 40 41 92 93 94 95
+DEAL:0::cell 0_3:202: 90 91 92 93 96 97 98 99
+DEAL:0::cell 0_3:203: 92 93 94 95 98 99 100 101
+DEAL:0::cell 0_3:210: 40 41 46 47 94 95 102 103
+DEAL:0::cell 0_3:211: 46 47 48 49 102 103 104 105
+DEAL:0::cell 0_3:212: 94 95 102 103 100 101 106 107
+DEAL:0::cell 0_3:213: 102 103 104 105 106 107 108 109
+DEAL:0::cell 0_3:220: 96 97 98 99 110 111 112 113
+DEAL:0::cell 0_3:221: 98 99 100 101 112 113 114 115
+DEAL:0::cell 0_3:222: 110 111 112 113 116 117 118 119
+DEAL:0::cell 0_3:223: 112 113 114 115 118 119 120 121
+DEAL:0::cell 0_3:230: 100 101 106 107 114 115 122 123
+DEAL:0::cell 0_3:231: 106 107 108 109 122 123 124 125
+DEAL:0::cell 0_3:232: 114 115 122 123 120 121 126 127
+DEAL:0::cell 0_3:233: 122 123 124 125 126 127 128 129
+DEAL:0::cell 0_3:300: 48 49 78 79 104 105 130 131
+DEAL:0::cell 0_3:301: 78 79 80 81 130 131 132 133
+DEAL:0::cell 0_3:302: 104 105 130 131 108 109 134 135
+DEAL:0::cell 0_3:303: 130 131 132 133 134 135 136 137
+DEAL:0::cell 0_3:310: 80 81 86 87 132 133 138 139
+DEAL:0::cell 0_3:311: 86 87 88 89 138 139 140 141
+DEAL:0::cell 0_3:312: 132 133 138 139 136 137 142 143
+DEAL:0::cell 0_3:313: 138 139 140 141 142 143 144 145
+DEAL:0::cell 0_3:320: 108 109 134 135 124 125 146 147
+DEAL:0::cell 0_3:321: 134 135 136 137 146 147 148 149
+DEAL:0::cell 0_3:322: 124 125 146 147 128 129 150 151
+DEAL:0::cell 0_3:323: 146 147 148 149 150 151 152 153
+DEAL:0::cell 0_3:330: 136 137 142 143 148 149 154 155
+DEAL:0::cell 0_3:331: 142 143 144 145 154 155 156 157
+DEAL:0::cell 0_3:332: 148 149 154 155 152 153 158 159
+DEAL:0::cell 0_3:333: 154 155 156 157 158 159 160 161
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 1 2 3 4 5 6 7
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 1 2 3 4 5 6 7
+DEAL:0::cell 0_1:1: 2 3 8 9 6 7 10 11
+DEAL:0::cell 0_1:2: 4 5 6 7 12 13 14 15
+DEAL:0::cell 0_1:3: 6 7 10 11 14 15 16 17
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 1 2 3 4 5 6 7
+DEAL:0::cell 0_2:01: 2 3 8 9 6 7 10 11
+DEAL:0::cell 0_2:02: 4 5 6 7 12 13 14 15
+DEAL:0::cell 0_2:03: 6 7 10 11 14 15 16 17
+DEAL:0::cell 0_2:10: 8 9 18 19 10 11 20 21
+DEAL:0::cell 0_2:11: 18 19 22 23 20 21 24 25
+DEAL:0::cell 0_2:12: 10 11 20 21 16 17 26 27
+DEAL:0::cell 0_2:13: 20 21 24 25 26 27 28 29
+DEAL:0::cell 0_2:20: 12 13 14 15 30 31 32 33
+DEAL:0::cell 0_2:21: 14 15 16 17 32 33 34 35
+DEAL:0::cell 0_2:22: 30 31 32 33 36 37 38 39
+DEAL:0::cell 0_2:23: 32 33 34 35 38 39 40 41
+DEAL:0::cell 0_2:30: 16 17 26 27 34 35 42 43
+DEAL:0::cell 0_2:31: 26 27 28 29 42 43 44 45
+DEAL:0::cell 0_2:32: 34 35 42 43 40 41 46 47
+DEAL:0::cell 0_2:33: 42 43 44 45 46 47 48 49
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 1 2 3 4 5 6 7
+DEAL:0::cell 0_3:001: 2 3 8 9 6 7 10 11
+DEAL:0::cell 0_3:002: 4 5 6 7 12 13 14 15
+DEAL:0::cell 0_3:003: 6 7 10 11 14 15 16 17
+DEAL:0::cell 0_3:010: 8 9 18 19 10 11 20 21
+DEAL:0::cell 0_3:011: 18 19 22 23 20 21 24 25
+DEAL:0::cell 0_3:012: 10 11 20 21 16 17 26 27
+DEAL:0::cell 0_3:013: 20 21 24 25 26 27 28 29
+DEAL:0::cell 0_3:020: 12 13 14 15 30 31 32 33
+DEAL:0::cell 0_3:021: 14 15 16 17 32 33 34 35
+DEAL:0::cell 0_3:022: 30 31 32 33 36 37 38 39
+DEAL:0::cell 0_3:023: 32 33 34 35 38 39 40 41
+DEAL:0::cell 0_3:030: 16 17 26 27 34 35 42 43
+DEAL:0::cell 0_3:031: 26 27 28 29 42 43 44 45
+DEAL:0::cell 0_3:032: 34 35 42 43 40 41 46 47
+DEAL:0::cell 0_3:033: 42 43 44 45 46 47 48 49
+DEAL:0::cell 0_3:100: 22 23 50 51 24 25 52 53
+DEAL:0::cell 0_3:101: 50 51 54 55 52 53 56 57
+DEAL:0::cell 0_3:102: 24 25 52 53 28 29 58 59
+DEAL:0::cell 0_3:103: 52 53 56 57 58 59 60 61
+DEAL:0::cell 0_3:110: 54 55 62 63 56 57 64 65
+DEAL:0::cell 0_3:111: 62 63 66 67 64 65 68 69
+DEAL:0::cell 0_3:112: 56 57 64 65 60 61 70 71
+DEAL:0::cell 0_3:113: 64 65 68 69 70 71 72 73
+DEAL:0::cell 0_3:120: 28 29 58 59 44 45 74 75
+DEAL:0::cell 0_3:121: 58 59 60 61 74 75 76 77
+DEAL:0::cell 0_3:122: 44 45 74 75 48 49 78 79
+DEAL:0::cell 0_3:123: 74 75 76 77 78 79 80 81
+DEAL:0::cell 0_3:130: 60 61 70 71 76 77 82 83
+DEAL:0::cell 0_3:131: 70 71 72 73 82 83 84 85
+DEAL:0::cell 0_3:132: 76 77 82 83 80 81 86 87
+DEAL:0::cell 0_3:133: 82 83 84 85 86 87 88 89
+DEAL:0::cell 0_3:200: 36 37 38 39 90 91 92 93
+DEAL:0::cell 0_3:201: 38 39 40 41 92 93 94 95
+DEAL:0::cell 0_3:202: 90 91 92 93 96 97 98 99
+DEAL:0::cell 0_3:203: 92 93 94 95 98 99 100 101
+DEAL:0::cell 0_3:210: 40 41 46 47 94 95 102 103
+DEAL:0::cell 0_3:211: 46 47 48 49 102 103 104 105
+DEAL:0::cell 0_3:212: 94 95 102 103 100 101 106 107
+DEAL:0::cell 0_3:213: 102 103 104 105 106 107 108 109
+DEAL:0::cell 0_3:220: 96 97 98 99 110 111 112 113
+DEAL:0::cell 0_3:221: 98 99 100 101 112 113 114 115
+DEAL:0::cell 0_3:222: 110 111 112 113 116 117 118 119
+DEAL:0::cell 0_3:223: 112 113 114 115 118 119 120 121
+DEAL:0::cell 0_3:230: 100 101 106 107 114 115 122 123
+DEAL:0::cell 0_3:231: 106 107 108 109 122 123 124 125
+DEAL:0::cell 0_3:232: 114 115 122 123 120 121 126 127
+DEAL:0::cell 0_3:233: 122 123 124 125 126 127 128 129
+DEAL:0::cell 0_3:300: 48 49 78 79 104 105 130 131
+DEAL:0::cell 0_3:301: 78 79 80 81 130 131 132 133
+DEAL:0::cell 0_3:302: 104 105 130 131 108 109 134 135
+DEAL:0::cell 0_3:303: 130 131 132 133 134 135 136 137
+DEAL:0::cell 0_3:310: 80 81 86 87 132 133 138 139
+DEAL:0::cell 0_3:311: 86 87 88 89 138 139 140 141
+DEAL:0::cell 0_3:312: 132 133 138 139 136 137 142 143
+DEAL:0::cell 0_3:313: 138 139 140 141 142 143 144 145
+DEAL:0::cell 0_3:320: 108 109 134 135 124 125 146 147
+DEAL:0::cell 0_3:321: 134 135 136 137 146 147 148 149
+DEAL:0::cell 0_3:322: 124 125 146 147 128 129 150 151
+DEAL:0::cell 0_3:323: 146 147 148 149 150 151 152 153
+DEAL:0::cell 0_3:330: 136 137 142 143 148 149 154 155
+DEAL:0::cell 0_3:331: 142 143 144 145 154 155 156 157
+DEAL:0::cell 0_3:332: 148 149 154 155 152 153 158 159
+DEAL:0::cell 0_3:333: 154 155 156 157 158 159 160 161
+DEAL:0::Finished fine lvl renumbering
+DEAL:0::Finished renumbering on lvl 0
+DEAL:0::Finished renumbering on lvl 1
+DEAL:0::Finished renumbering on lvl 2
+DEAL:0::Finished renumbering on lvl 3
+DEAL:0::DoF numbers on active cells
+DEAL:0::cell 0_3:000: 0 81 1 82 2 83 3 84
+DEAL:0::cell 0_3:001: 1 82 4 85 3 84 5 86
+DEAL:0::cell 0_3:002: 2 83 3 84 6 87 7 88
+DEAL:0::cell 0_3:003: 3 84 5 86 7 88 8 89
+DEAL:0::cell 0_3:010: 4 85 9 90 5 86 10 91
+DEAL:0::cell 0_3:011: 9 90 11 92 10 91 12 93
+DEAL:0::cell 0_3:012: 5 86 10 91 8 89 13 94
+DEAL:0::cell 0_3:013: 10 91 12 93 13 94 14 95
+DEAL:0::cell 0_3:020: 6 87 7 88 15 96 16 97
+DEAL:0::cell 0_3:021: 7 88 8 89 16 97 17 98
+DEAL:0::cell 0_3:022: 15 96 16 97 18 99 19 100
+DEAL:0::cell 0_3:023: 16 97 17 98 19 100 20 101
+DEAL:0::cell 0_3:030: 8 89 13 94 17 98 21 102
+DEAL:0::cell 0_3:031: 13 94 14 95 21 102 22 103
+DEAL:0::cell 0_3:032: 17 98 21 102 20 101 23 104
+DEAL:0::cell 0_3:033: 21 102 22 103 23 104 24 105
+DEAL:0::cell 0_3:100: 11 92 25 106 12 93 26 107
+DEAL:0::cell 0_3:101: 25 106 27 108 26 107 28 109
+DEAL:0::cell 0_3:102: 12 93 26 107 14 95 29 110
+DEAL:0::cell 0_3:103: 26 107 28 109 29 110 30 111
+DEAL:0::cell 0_3:110: 27 108 31 112 28 109 32 113
+DEAL:0::cell 0_3:111: 31 112 33 114 32 113 34 115
+DEAL:0::cell 0_3:112: 28 109 32 113 30 111 35 116
+DEAL:0::cell 0_3:113: 32 113 34 115 35 116 36 117
+DEAL:0::cell 0_3:120: 14 95 29 110 22 103 37 118
+DEAL:0::cell 0_3:121: 29 110 30 111 37 118 38 119
+DEAL:0::cell 0_3:122: 22 103 37 118 24 105 39 120
+DEAL:0::cell 0_3:123: 37 118 38 119 39 120 40 121
+DEAL:0::cell 0_3:130: 30 111 35 116 38 119 41 122
+DEAL:0::cell 0_3:131: 35 116 36 117 41 122 42 123
+DEAL:0::cell 0_3:132: 38 119 41 122 40 121 43 124
+DEAL:0::cell 0_3:133: 41 122 42 123 43 124 44 125
+DEAL:0::cell 0_3:200: 18 99 19 100 45 126 46 127
+DEAL:0::cell 0_3:201: 19 100 20 101 46 127 47 128
+DEAL:0::cell 0_3:202: 45 126 46 127 48 129 49 130
+DEAL:0::cell 0_3:203: 46 127 47 128 49 130 50 131
+DEAL:0::cell 0_3:210: 20 101 23 104 47 128 51 132
+DEAL:0::cell 0_3:211: 23 104 24 105 51 132 52 133
+DEAL:0::cell 0_3:212: 47 128 51 132 50 131 53 134
+DEAL:0::cell 0_3:213: 51 132 52 133 53 134 54 135
+DEAL:0::cell 0_3:220: 48 129 49 130 55 136 56 137
+DEAL:0::cell 0_3:221: 49 130 50 131 56 137 57 138
+DEAL:0::cell 0_3:222: 55 136 56 137 58 139 59 140
+DEAL:0::cell 0_3:223: 56 137 57 138 59 140 60 141
+DEAL:0::cell 0_3:230: 50 131 53 134 57 138 61 142
+DEAL:0::cell 0_3:231: 53 134 54 135 61 142 62 143
+DEAL:0::cell 0_3:232: 57 138 61 142 60 141 63 144
+DEAL:0::cell 0_3:233: 61 142 62 143 63 144 64 145
+DEAL:0::cell 0_3:300: 24 105 39 120 52 133 65 146
+DEAL:0::cell 0_3:301: 39 120 40 121 65 146 66 147
+DEAL:0::cell 0_3:302: 52 133 65 146 54 135 67 148
+DEAL:0::cell 0_3:303: 65 146 66 147 67 148 68 149
+DEAL:0::cell 0_3:310: 40 121 43 124 66 147 69 150
+DEAL:0::cell 0_3:311: 43 124 44 125 69 150 70 151
+DEAL:0::cell 0_3:312: 66 147 69 150 68 149 71 152
+DEAL:0::cell 0_3:313: 69 150 70 151 71 152 72 153
+DEAL:0::cell 0_3:320: 54 135 67 148 62 143 73 154
+DEAL:0::cell 0_3:321: 67 148 68 149 73 154 74 155
+DEAL:0::cell 0_3:322: 62 143 73 154 64 145 75 156
+DEAL:0::cell 0_3:323: 73 154 74 155 75 156 76 157
+DEAL:0::cell 0_3:330: 68 149 71 152 74 155 77 158
+DEAL:0::cell 0_3:331: 71 152 72 153 77 158 78 159
+DEAL:0::cell 0_3:332: 74 155 77 158 76 157 79 160
+DEAL:0::cell 0_3:333: 77 158 78 159 79 160 80 161
+DEAL:0::DoF numbers on level 0
+DEAL:0::cell 0_0:: 0 4 1 5 2 6 3 7
+DEAL:0::DoF numbers on level 1
+DEAL:0::cell 0_1:0: 0 9 1 10 2 11 3 12
+DEAL:0::cell 0_1:1: 1 10 4 13 3 12 5 14
+DEAL:0::cell 0_1:2: 2 11 3 12 6 15 7 16
+DEAL:0::cell 0_1:3: 3 12 5 14 7 16 8 17
+DEAL:0::DoF numbers on level 2
+DEAL:0::cell 0_2:00: 0 25 1 26 2 27 3 28
+DEAL:0::cell 0_2:01: 1 26 4 29 3 28 5 30
+DEAL:0::cell 0_2:02: 2 27 3 28 6 31 7 32
+DEAL:0::cell 0_2:03: 3 28 5 30 7 32 8 33
+DEAL:0::cell 0_2:10: 4 29 9 34 5 30 10 35
+DEAL:0::cell 0_2:11: 9 34 11 36 10 35 12 37
+DEAL:0::cell 0_2:12: 5 30 10 35 8 33 13 38
+DEAL:0::cell 0_2:13: 10 35 12 37 13 38 14 39
+DEAL:0::cell 0_2:20: 6 31 7 32 15 40 16 41
+DEAL:0::cell 0_2:21: 7 32 8 33 16 41 17 42
+DEAL:0::cell 0_2:22: 15 40 16 41 18 43 19 44
+DEAL:0::cell 0_2:23: 16 41 17 42 19 44 20 45
+DEAL:0::cell 0_2:30: 8 33 13 38 17 42 21 46
+DEAL:0::cell 0_2:31: 13 38 14 39 21 46 22 47
+DEAL:0::cell 0_2:32: 17 42 21 46 20 45 23 48
+DEAL:0::cell 0_2:33: 21 46 22 47 23 48 24 49
+DEAL:0::DoF numbers on level 3
+DEAL:0::cell 0_3:000: 0 81 1 82 2 83 3 84
+DEAL:0::cell 0_3:001: 1 82 4 85 3 84 5 86
+DEAL:0::cell 0_3:002: 2 83 3 84 6 87 7 88
+DEAL:0::cell 0_3:003: 3 84 5 86 7 88 8 89
+DEAL:0::cell 0_3:010: 4 85 9 90 5 86 10 91
+DEAL:0::cell 0_3:011: 9 90 11 92 10 91 12 93
+DEAL:0::cell 0_3:012: 5 86 10 91 8 89 13 94
+DEAL:0::cell 0_3:013: 10 91 12 93 13 94 14 95
+DEAL:0::cell 0_3:020: 6 87 7 88 15 96 16 97
+DEAL:0::cell 0_3:021: 7 88 8 89 16 97 17 98
+DEAL:0::cell 0_3:022: 15 96 16 97 18 99 19 100
+DEAL:0::cell 0_3:023: 16 97 17 98 19 100 20 101
+DEAL:0::cell 0_3:030: 8 89 13 94 17 98 21 102
+DEAL:0::cell 0_3:031: 13 94 14 95 21 102 22 103
+DEAL:0::cell 0_3:032: 17 98 21 102 20 101 23 104
+DEAL:0::cell 0_3:033: 21 102 22 103 23 104 24 105
+DEAL:0::cell 0_3:100: 11 92 25 106 12 93 26 107
+DEAL:0::cell 0_3:101: 25 106 27 108 26 107 28 109
+DEAL:0::cell 0_3:102: 12 93 26 107 14 95 29 110
+DEAL:0::cell 0_3:103: 26 107 28 109 29 110 30 111
+DEAL:0::cell 0_3:110: 27 108 31 112 28 109 32 113
+DEAL:0::cell 0_3:111: 31 112 33 114 32 113 34 115
+DEAL:0::cell 0_3:112: 28 109 32 113 30 111 35 116
+DEAL:0::cell 0_3:113: 32 113 34 115 35 116 36 117
+DEAL:0::cell 0_3:120: 14 95 29 110 22 103 37 118
+DEAL:0::cell 0_3:121: 29 110 30 111 37 118 38 119
+DEAL:0::cell 0_3:122: 22 103 37 118 24 105 39 120
+DEAL:0::cell 0_3:123: 37 118 38 119 39 120 40 121
+DEAL:0::cell 0_3:130: 30 111 35 116 38 119 41 122
+DEAL:0::cell 0_3:131: 35 116 36 117 41 122 42 123
+DEAL:0::cell 0_3:132: 38 119 41 122 40 121 43 124
+DEAL:0::cell 0_3:133: 41 122 42 123 43 124 44 125
+DEAL:0::cell 0_3:200: 18 99 19 100 45 126 46 127
+DEAL:0::cell 0_3:201: 19 100 20 101 46 127 47 128
+DEAL:0::cell 0_3:202: 45 126 46 127 48 129 49 130
+DEAL:0::cell 0_3:203: 46 127 47 128 49 130 50 131
+DEAL:0::cell 0_3:210: 20 101 23 104 47 128 51 132
+DEAL:0::cell 0_3:211: 23 104 24 105 51 132 52 133
+DEAL:0::cell 0_3:212: 47 128 51 132 50 131 53 134
+DEAL:0::cell 0_3:213: 51 132 52 133 53 134 54 135
+DEAL:0::cell 0_3:220: 48 129 49 130 55 136 56 137
+DEAL:0::cell 0_3:221: 49 130 50 131 56 137 57 138
+DEAL:0::cell 0_3:222: 55 136 56 137 58 139 59 140
+DEAL:0::cell 0_3:223: 56 137 57 138 59 140 60 141
+DEAL:0::cell 0_3:230: 50 131 53 134 57 138 61 142
+DEAL:0::cell 0_3:231: 53 134 54 135 61 142 62 143
+DEAL:0::cell 0_3:232: 57 138 61 142 60 141 63 144
+DEAL:0::cell 0_3:233: 61 142 62 143 63 144 64 145
+DEAL:0::cell 0_3:300: 24 105 39 120 52 133 65 146
+DEAL:0::cell 0_3:301: 39 120 40 121 65 146 66 147
+DEAL:0::cell 0_3:302: 52 133 65 146 54 135 67 148
+DEAL:0::cell 0_3:303: 65 146 66 147 67 148 68 149
+DEAL:0::cell 0_3:310: 40 121 43 124 66 147 69 150
+DEAL:0::cell 0_3:311: 43 124 44 125 69 150 70 151
+DEAL:0::cell 0_3:312: 66 147 69 150 68 149 71 152
+DEAL:0::cell 0_3:313: 69 150 70 151 71 152 72 153
+DEAL:0::cell 0_3:320: 54 135 67 148 62 143 73 154
+DEAL:0::cell 0_3:321: 67 148 68 149 73 154 74 155
+DEAL:0::cell 0_3:322: 62 143 73 154 64 145 75 156
+DEAL:0::cell 0_3:323: 73 154 74 155 75 156 76 157
+DEAL:0::cell 0_3:330: 68 149 71 152 74 155 77 158
+DEAL:0::cell 0_3:331: 71 152 72 153 77 158 78 159
+DEAL:0::cell 0_3:332: 74 155 77 158 76 157 79 160
+DEAL:0::cell 0_3:333: 77 158 78 159 79 160 80 161