]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change algorithm for coarse cell ordering in parallel::distributed::Triangulation
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 10 Apr 2015 09:25:28 +0000 (11:25 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 11 Apr 2015 06:22:15 +0000 (08:22 +0200)
source/distributed/tria.cc

index 7eb7533fe5a308bee5f0480c3252c11e728fadcb..6602ff31a21ab35b6628ae3e881a39f9e499a8bc 100644 (file)
@@ -2490,11 +2490,11 @@ namespace parallel
     Triangulation<dim,spacedim>::setup_coarse_cell_to_p4est_tree_permutation ()
     {
       DynamicSparsityPattern cell_connectivity;
-      GridTools::get_face_connectivity_of_cells (*this, cell_connectivity);
+      GridTools::get_vertex_connectivity_of_cells (*this, cell_connectivity);
       coarse_cell_to_p4est_tree_permutation.resize (this->n_cells(0));
       SparsityTools::
-      reorder_Cuthill_McKee (cell_connectivity,
-                             coarse_cell_to_p4est_tree_permutation);
+      reorder_hierarchical (cell_connectivity,
+                            coarse_cell_to_p4est_tree_permutation);
 
       p4est_tree_to_coarse_cell_permutation
         = Utilities::invert_permutation (coarse_cell_to_p4est_tree_permutation);

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.