From: Martin Kronbichler Date: Tue, 7 Jun 2022 07:41:12 +0000 (+0200) Subject: Merge pull request #13913 from luca-heltai/cgal-fix-tests X-Git-Tag: v9.4.0-rc1~58 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d1cac5d1e12031612efdbe9c7f6935a151b264;p=dealii.git Merge pull request #13913 from luca-heltai/cgal-fix-tests Fix input and output of some cgal tests. --- 50d1cac5d1e12031612efdbe9c7f6935a151b264 diff --cc tests/cgal/cgal_mesh_criteria.cc index daeca0e6ef,75a742cff0..373b46c86b --- a/tests/cgal/cgal_mesh_criteria.cc +++ b/tests/cgal/cgal_mesh_criteria.cc @@@ -44,15 -44,16 +44,15 @@@ test( { CGAL::Surface_mesh sm; C3t3 tria; - std::ifstream input("input_grids/cube.off"); + std::ifstream input(SOURCE_DIR "/input_grids/cube.off"); input >> sm; - cgal_surface_mesh_to_cgal_triangulation(sm, - tria, - CGAL::parameters::cell_size = 0.1); + AdditionalData<3> data; + data.cell_size = .1; + cgal_surface_mesh_to_cgal_triangulation(sm, tria, data); const unsigned int n_intial_facets = tria.number_of_facets_in_complex(); tria.clear(); - cgal_surface_mesh_to_cgal_triangulation(sm, - tria, - CGAL::parameters::cell_size = 0.5); + data.cell_size = .5; + cgal_surface_mesh_to_cgal_triangulation(sm, tria, data); Assert( n_intial_facets > tria.number_of_facets_in_complex(),