Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] 3d surface mesher seems slow with Windows
- Date: Wed, 9 Feb 2011 13:03:20 +0100
- Organization: GeometryFactory
Le jeudi 03 février 2011 16:48:16, Samuel Hornus a écrit : > Hi all, > > I'm using the CGAL surface mesher for meshing the surface of proteins. > The results are excellent (see image), but I have a speed issue: > > - Linux, CGAL 3.7 : I get a surface with ~3600 vertices in ~2.1 seconds. > - Windows 7, CGAL 3.7, exact same source code : exact same surface > computed in between 30 and 53 seconds !! > > The code uses: > > // kernel and cells > typedef > CGAL::Robust_circumcenter_traits_3<CGAL::Exact_predicates_inexact_construct > ions_kernel> K; typedef CGAL::Surface_mesh_vertex_base_3<K> Vb; typedef > CGAL::Surface_mesh_cell_base_3<K> Cb; typedef > CGAL::Triangulation_cell_base_with_circumcenter_3<K, Cb> > Cb_with_circumcenter; typedef > CGAL::Triangulation_cell_base_with_info_3<int, K, Cb_with_circumcenter> > Cb_with_info; > > // triangulation > typedef CGAL::Triangulation_data_structure_3<Vb, Cb_with_info> Tds; > typedef CGAL::Delaunay_triangulation_3<K, Tds> Tr; > > // c2t3 > typedef CGAL::Surface_mesh_complex_2_in_triangulation_3<Tr> C2t3; > > > Both are compiled with -DNDEBUG and -O2 (/O2). What about the other compiler flags? On Linux, -O2 is not a flag used by CMake by default (it uses -O3 in Release mode), and maybe you have not used CMake to setup the compilation. Can you give us the exact compiler flags that were used on Linux and on Windows? -- Laurent Rineau, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/ Release Manager of the CGAL Project http://www.cgal.org/ |
- [cgal-discuss] 3d surface mesher seems slow with Windows, Samuel Hornus, 02/03/2011
- Re: [cgal-discuss] 3d surface mesher seems slow with Windows, Laurent Rineau (GeometryFactory), 02/09/2011
Archive powered by MHonArc 2.6.16.