From 19c65266cd09a7e869eeb67d9b420bd7a1259db0 Mon Sep 17 00:00:00 2001 From: Nuno Miguel Nobre Date: Wed, 5 Jul 2023 17:00:07 +0100 Subject: [PATCH] Tune TBB conditionals in the preprocessing edge collapsing algorithm --- src/Simplification.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Simplification.cpp b/src/Simplification.cpp index d234716..f9ba8b5 100644 --- a/src/Simplification.cpp +++ b/src/Simplification.cpp @@ -363,6 +363,7 @@ void floatTetWild::collapsing(std::vector& input_vertices, std::vector< } //real update +#ifndef FLOAT_TETWILD_USE_TBB // std::unordered_set n_v_ids;//get this info before real update for later usage std::vector n_v_ids;//get this info before real update for later usage for (int f_id:new_f_ids) { @@ -372,6 +373,7 @@ void floatTetWild::collapsing(std::vector& input_vertices, std::vector< } } vector_unique(n_v_ids); +#endif v_is_removed[v1_id] = true; input_vertices[v2_id] = p;