From cc878e35e673f87f72230ff9507d9abc62ae0719 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 6 Dec 2024 13:09:14 +0000 Subject: [PATCH] Change the criteria if in Debug mode --- .../test_triply_periodic_minimal_surfaces.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_triply_periodic_minimal_surfaces.cpp b/Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_triply_periodic_minimal_surfaces.cpp index cab19a02eda1..864dc9376edc 100644 --- a/Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_triply_periodic_minimal_surfaces.cpp +++ b/Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_triply_periodic_minimal_surfaces.cpp @@ -236,11 +236,19 @@ C3t3 make_mesh(const Labeling_function& labeling_function, const Iso_cuboid& can { Periodic_mesh_domain domain(labeling_function, canonical_cube); +#ifdef CGAL_NDEBUG Periodic_mesh_criteria criteria(facet_angle = 30., facet_size = 0.03 * 2 /*domain's edge length*/, facet_distance = 0.03 * 2 /*domain's edge length*/, cell_radius_edge_ratio = 2., cell_size = 0.05); +#else + Periodic_mesh_criteria criteria(facet_angle = 30., + facet_size = 0.1 * 2 /*domain's edge length*/, + facet_distance = 0.1 * 2 /*domain's edge length*/, + cell_radius_edge_ratio = 2., + cell_size = 0.1); +#endif return CGAL::make_periodic_3_mesh_3(domain, criteria); } @@ -313,7 +321,6 @@ int main(int, char**) std::cout << std::endl; } } - std::cout << "EXIT SUCCESS" << std::endl; return 0; }