]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation with 64 bit indices. 4142/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 30 Mar 2017 13:32:44 +0000 (15:32 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 30 Mar 2017 13:32:44 +0000 (15:32 +0200)
source/grid/grid_tools.cc

index 2e5ca8b0a7a6016dc0264f718d3f6ab803e12e42..772948dbea58cff5edd76ac168c03df68e55cbdf 100644 (file)
@@ -2256,8 +2256,8 @@ next_cell:
 
     // Duplicate the coarse cell reordoring
     // as done in p4est
-    std::vector<unsigned int> coarse_cell_to_p4est_tree_permutation;
-    std::vector<unsigned int> p4est_tree_to_coarse_cell_permutation;
+    std::vector<types::global_dof_index> coarse_cell_to_p4est_tree_permutation;
+    std::vector<types::global_dof_index> p4est_tree_to_coarse_cell_permutation;
 
     DynamicSparsityPattern cell_connectivity;
     GridTools::get_vertex_connectivity_of_cells_on_level (triangulation, 0, cell_connectivity);

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.