Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Cc: Chen Zhenghai <>
- Subject: Re: [cgal-discuss] Parallel make_mesh_3 does not have a speed-up
- Date: Fri, 10 May 2019 10:14:32 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:+8idcR34JIrzRSCLsmDT+DRfVm0co7zxezQtwd8ZseMVK/ad9pjvdHbS+e9qxAeQG9mCsrQU26GO6ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVmTaxe7B/IRa5oQnNq8UdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LpwRRT2lCkIKSI28GDPisxxkq1bpg6hpwdiyILQeY2ZKeZycr/Ycd4cWGFPXNteVzZZD428cYUBEuQPM+Vfr4b/qVsBohSwChW3CePz1zFFnGP60bEm3+g/FwzNwQwuH8gJsHTRtNj5OqEcXvqozKnS0zrDae9W0irh5ojJdBAuv+uDXa9tesbV10QhFh/IgFOLpYLkITyV0eENvHaH7+p6VeOhi3QopB1tojio3MctiozFiowIwV3D8SV22ps1JcemR059fd6oCoFQtyCcN4RoWMwiXnpltzo1yrIcvZ63Zi8KyI4oxxPGbfGMboaG4hXmVOmLIDd4gmpod66whxmo9Uis0Or8VtO70FpSoSpKjN7MtnUT2BzP8MiGSvV98V291jaT0ADT8OFFLVoomqrcLp4sxKM7mJkLsUnbAyP6hkH7gLWLekgg/uWk8eDqb7T8qpKTK4N4kgXzPrg0lsG8AOk0KBUCUmyf9OimybHu80P0TbNXhfMsiKbZqorVJcEDq665HQBV1oEj5g65Dzi43tQUh2cILFReeB6dgYjpIUnCIPH+Dfihn1ShiCpny+7CM7H7H5nAKnzOnK3lcLt88UJRxxY/wcha551OC7EBJPzzWlX2tNzdFhI5Nxa7w/v9CNpj0IMeRXiDArWYMKPUr1CH/P8vLvKQa48aojn9L+Ip5/n0jX82gVMdZ7Wm3YMLaHCkGfRrO1mWYXX2jdcFCGsFows+TPf2h12fSj5TfG2/X7k85zE+EIKpF53PRoGrgLyb3Se0BIdaZm5cCgPELXC9fIqNX7IAaTmZP9R6uj0CT7moDYE7hj+0swqvgZ5uM/DZ/DFQj5Pl2dFor634ujgWshN5CMGQz3ucYWh/gmQSVn58lPR7qFFnx1Gfl7J5hfFRCPRY6PpNFAAgOsiPnKRBF9nuV1eZLZ+yQ1G8T4DjWGlpF49j85o1e094Xu6aoFXD0i6tWuVHkbGFQpEy6eTSxSqpfpcv+zP9zKAkymIebI5KPGyiiLR48lGLVYXGmkHfkLylJ/9FgHz9sVybxG/Lh3l2FRZqWPydD3sQb0+Qqs72tBvP
- Organization: GeometryFactory
On Thursday, May 9, 2019 9:46:31 AM CEST Chen Zhenghai wrote:
> int main()
> {
> std::cout.precision(17);
> std::cerr.precision(17);
>
> char *fname = "fn";
> std::ifstream input(fname);
> char* fname2 = "fn2";
> std::ifstream input2(fname2);
> Polyhedron sm, smbounding;
> input >> sm;
> input2 >> smbounding;
> if (input.fail()) {
> std::cerr << "Error: Cannot read file " << fname << std::endl;
> std::cin.get();
> return 0;
> }
>
> // Create domain
> Mesh_domain domain(sm, smbounding);
>
> // Get sharp features
> domain.detect_features();
>
> Mesh_criteria criteria(
> edge_size = 5,
> facet_distance = 1,
> cell_radius_edge_ratio = 1.414);
>
> // Mesh generation
> C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria,
> no_perturb(), no_exude());
> }
Hi,
What were the two input files you used? Maybe with those criteria the meshing
process was either too short to exploit the parallelism, or it was dominated
by the non-parallel pre-processing stage. If you share the input files, I can
try to measure that.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Parallel make_mesh_3 does not have a speed-up, Chen Zhenghai, 05/09/2019
- Re: [cgal-discuss] Parallel make_mesh_3 does not have a speed-up, Laurent Rineau (CGAL/GeometryFactory), 05/10/2019
- Re: [cgal-discuss] Parallel make_mesh_3 does not have a speed-up, Chen Zhenghai, 05/10/2019
- Re: [cgal-discuss] Parallel make_mesh_3 does not have a speed-up, Laurent Rineau (CGAL/GeometryFactory), 05/10/2019
Archive powered by MHonArc 2.6.18.