@@ -45,6 +45,7 @@ spec = (
45
45
line = Line (Point (0 , 0 , 0 ), Point (1 , 1 , 1 )),
46
46
plane = Plane (Point (0 , 0 , 0 ), Vec (0 , 0 , 1 )),
47
47
ray = Ray (Point (0 , 0 , 0 ), Vec (0 , 0 , 1 )),
48
+ rope = Rope ([Point (t, t, t) for t in 1 : 32 ]. .. ),
48
49
triangle = Triangle (Point (1 , 0 , 0 ), Point (0 , 1 , 0 ), Point (0 , 0 , 1 )),
49
50
tetrahedron = let
50
51
a = Point (0 , 3 , 0 )
@@ -64,6 +65,7 @@ SUITE["Specializations/Scalar GaussLegendre"] = let s = BenchmarkGroup()
64
65
s[" Line" ] = @benchmarkable integral ($ spec. f_exp, $ spec. g. line, $ spec. rule_gl)
65
66
s[" Plane" ] = @benchmarkable integral ($ spec. f_exp, $ spec. g. plane, $ spec. rule_gl)
66
67
s[" Ray" ] = @benchmarkable integral ($ spec. f_exp, $ spec. g. ray, $ spec. rule_gl)
68
+ s[" Rope" ] = @benchmarkable integral ($ spec. f, $ spec. g. rope, $ spec. rule_gl)
67
69
s[" Triangle" ] = @benchmarkable integral ($ spec. f, $ spec. g. triangle, $ spec. rule_gl)
68
70
s[" Tetrahedron" ] = @benchmarkable integral ($ spec. f, $ spec. g. tetrahedron, $ spec. rule_gl)
69
71
s
@@ -82,5 +84,14 @@ SUITE["Differentials"] = let s = BenchmarkGroup()
82
84
s
83
85
end
84
86
87
+ # ###########################################################################################
88
+ # Integration Rules
89
+ # ##########################################################################################
90
+
91
+ SUITE[" Rules" ] = let s = BenchmarkGroup ()
92
+ s[" GaussLegendre" ] = @benchmarkable GaussLegendre ($ 1000)
93
+ s
94
+ end
95
+
85
96
# tune!(SUITE)
86
97
# run(SUITE, verbose=true)
0 commit comments