Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
4a475175
Commit
4a475175
authored
6 years ago
by
Dennis Gläser
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/common/geometry/test_graham_convex_hull.cc
+2
-1
2 additions, 1 deletion
test/common/geometry/test_graham_convex_hull.cc
with
2 additions
and
1 deletion
test/common/geometry/test_graham_convex_hull.cc
+
2
−
1
View file @
4a475175
...
@@ -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
::
triangulate
ConvexHull
(
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment