]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Added flag to control overwriting of non flat manifold ids.
authorLuca Heltai <luca.heltai@sissa.it>
Thu, 21 Mar 2019 23:27:14 +0000 (00:27 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Sat, 23 Mar 2019 22:24:17 +0000 (23:24 +0100)
source/grid/grid_tools.cc

index 1b5939f12c659b8815322443c702837ac5d41dcc..7aa180cbffaab34337f38b5c838efea47b603cb3 100644 (file)
@@ -3775,6 +3775,7 @@ namespace GridTools
     std::vector<std::set<types::manifold_id>> manifold_ids(size + 1);
     std::vector<unsigned int>                 backup;
     tria.save_user_indices(backup);
+    tria.clear_user_data();
 
     unsigned next_index = 1;
     for (auto cell : tria.active_cell_iterators())

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.