mirror of https://github.com/CGAL/cgal
Change the criteria if in Debug mode
This commit is contained in:
parent
24046e1974
commit
cc878e35e6
|
|
@ -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<C3t3>(domain, criteria);
|
||||
}
|
||||
|
|
@ -313,7 +321,6 @@ int main(int, char**)
|
|||
std::cout << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
std::cout << "EXIT SUCCESS" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue