avoid dumping bad_cells and statistics when verbose mode ON

This commit is contained in:
Jane Tournois 2022-03-22 11:38:48 +01:00
parent c837828770
commit dbd66a5750
1 changed files with 3 additions and 1 deletions

View File

@ -272,6 +272,8 @@ void tetrahedral_isotropic_remeshing(
#ifdef CGAL_TETRAHEDRAL_REMESHING_VERBOSE #ifdef CGAL_TETRAHEDRAL_REMESHING_VERBOSE
std::cout << "done." << std::endl; std::cout << "done." << std::endl;
#endif
#ifdef CGAL_TETRAHEDRAL_REMESHING_DEBUG
Tetrahedral_remeshing::internal::compute_statistics( Tetrahedral_remeshing::internal::compute_statistics(
remesher.tr(), cell_select, "statistics_begin.txt"); remesher.tr(), cell_select, "statistics_begin.txt");
#endif #endif
@ -280,7 +282,7 @@ void tetrahedral_isotropic_remeshing(
std::size_t nb_extra_iterations = 3; std::size_t nb_extra_iterations = 3;
remesher.remesh(max_it, nb_extra_iterations); remesher.remesh(max_it, nb_extra_iterations);
#ifdef CGAL_TETRAHEDRAL_REMESHING_VERBOSE #ifdef CGAL_TETRAHEDRAL_REMESHING_DEBUG
const double angle_bound = 5.0; const double angle_bound = 5.0;
Tetrahedral_remeshing::debug::dump_cells_with_small_dihedral_angle(tr, Tetrahedral_remeshing::debug::dump_cells_with_small_dihedral_angle(tr,
angle_bound, cell_select, "bad_cells.mesh"); angle_bound, cell_select, "bad_cells.mesh");