mirror of https://github.com/CGAL/cgal
Merge pull request #6954 from janetournois/Mesh_3-minor_fixes_debug_code-jtournois
Mesh 3 - minor fixes in debug code
This commit is contained in:
commit
5d4e0dd9b5
|
|
@ -974,7 +974,7 @@ update_mesh(const Moves_vector& moves,
|
|||
{
|
||||
FT size = std::get<2>(*it);
|
||||
|
||||
#ifdef CGAL_MESH_3_OPTIMIZER_VERBOSE
|
||||
#ifdef CGAL_MESH_3_OPTIMIZER_VERY_VERBOSE
|
||||
std::cerr << "Moving #" << it - moves.begin()
|
||||
<< " addr: " << &*v
|
||||
<< " pt: " << tr_.point(v)
|
||||
|
|
|
|||
|
|
@ -575,7 +575,7 @@ refine_mesh(std::string dump_after_refine_surface_prefix)
|
|||
nbsteps = 0;
|
||||
|
||||
facets_visitor_.activate();
|
||||
dump_c3t3(r_c3t3_, dump_after_refine_surface_prefix);
|
||||
|
||||
std::cerr << "Start volume scan...";
|
||||
CGAL_MESH_3_TASK_BEGIN(scan_cells_task_handle);
|
||||
cells_mesher_.scan_triangulation();
|
||||
|
|
@ -584,6 +584,7 @@ refine_mesh(std::string dump_after_refine_surface_prefix)
|
|||
std::cerr << "end scan. [Bad tets:" << cells_mesher_.size() << "]";
|
||||
std::cerr << std::endl << std::endl;
|
||||
elapsed_time += timer.time();
|
||||
dump_c3t3(r_c3t3_, dump_after_refine_surface_prefix);
|
||||
timer.stop(); timer.reset(); timer.start();
|
||||
|
||||
std::cerr << "Refining...\n";
|
||||
|
|
|
|||
|
|
@ -57,4 +57,10 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CGAL_MESH_3_VERY_VERBOSE
|
||||
# ifndef CGAL_MESH_3_OPTIMIZER_VERY_VERBOSE
|
||||
# define CGAL_MESH_3_OPTIMIZER_VERY_VERBOSE 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif // CGAL_MESH_3_CONFIG_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue