Skip to content
Snippets Groups Projects
Commit 4a475175 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[test][grahamhull] use new triangulation interface

parent 83413cb0
No related branches found
No related tags found
1 merge request!1541[geometryisection] introduce policy classes for intersections
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <dune/common/timer.hh> #include <dune/common/timer.hh>
#include <dumux/common/math.hh> #include <dumux/common/math.hh>
#include <dumux/common/geometry/triangulation.hh>
#include <dumux/common/geometry/grahamconvexhull.hh> #include <dumux/common/geometry/grahamconvexhull.hh>
#include <test/common/geometry/writetriangulation.hh> #include <test/common/geometry/writetriangulation.hh>
...@@ -115,7 +116,7 @@ int main(int argc, char* argv[]) try ...@@ -115,7 +116,7 @@ int main(int argc, char* argv[]) try
writeVTKPolyData(convexHullPoints, "convexhull"); writeVTKPolyData(convexHullPoints, "convexhull");
Dune::Timer timer2; Dune::Timer timer2;
auto triangles = Dumux::triangulateConvexHull(convexHullPoints); auto triangles = Dumux::triangulate<2, 3>(convexHullPoints);
std::cout << "Computed triangulation of convex hull with " << convexHullPoints.size() std::cout << "Computed triangulation of convex hull with " << convexHullPoints.size()
<< " points in " << timer2.elapsed() << " seconds." << std::endl; << " points in " << timer2.elapsed() << " seconds." << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment