From 695b6db5b7f1f8c3aa10fbf25b3f2a60838f76ee Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Fri, 22 Mar 2019 00:27:14 +0100 Subject: [PATCH] Added flag to control overwriting of non flat manifold ids. --- source/grid/grid_tools.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index 1b5939f12c..7aa180cbff 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -3775,6 +3775,7 @@ namespace GridTools std::vector> manifold_ids(size + 1); std::vector backup; tria.save_user_indices(backup); + tria.clear_user_data(); unsigned next_index = 1; for (auto cell : tria.active_cell_iterators()) -- 2.39.5