mirror of https://github.com/CGAL/cgal
avoid dumping bad_cells and statistics when verbose mode ON
This commit is contained in:
parent
c837828770
commit
dbd66a5750
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue