@@ -45,6 +45,7 @@ spec = (
4545 line = Line (Point (0 , 0 , 0 ), Point (1 , 1 , 1 )),
4646 plane = Plane (Point (0 , 0 , 0 ), Vec (0 , 0 , 1 )),
4747 ray = Ray (Point (0 , 0 , 0 ), Vec (0 , 0 , 1 )),
48+ rope = Rope ([Point (t, t, t) for t in 1 : 32 ]. .. ),
4849 triangle = Triangle (Point (1 , 0 , 0 ), Point (0 , 1 , 0 ), Point (0 , 0 , 1 )),
4950 tetrahedron = let
5051 a = Point (0 , 3 , 0 )
@@ -64,6 +65,7 @@ SUITE["Specializations/Scalar GaussLegendre"] = let s = BenchmarkGroup()
6465 s[" Line" ] = @benchmarkable integral ($ spec. f_exp, $ spec. g. line, $ spec. rule_gl)
6566 s[" Plane" ] = @benchmarkable integral ($ spec. f_exp, $ spec. g. plane, $ spec. rule_gl)
6667 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)
6769 s[" Triangle" ] = @benchmarkable integral ($ spec. f, $ spec. g. triangle, $ spec. rule_gl)
6870 s[" Tetrahedron" ] = @benchmarkable integral ($ spec. f, $ spec. g. tetrahedron, $ spec. rule_gl)
6971 s
@@ -82,5 +84,14 @@ SUITE["Differentials"] = let s = BenchmarkGroup()
8284 s
8385end
8486
87+ # ###########################################################################################
88+ # Integration Rules
89+ # ##########################################################################################
90+
91+ SUITE[" Rules" ] = let s = BenchmarkGroup ()
92+ s[" GaussLegendre" ] = @benchmarkable GaussLegendre ($ 1000)
93+ s
94+ end
95+
8596# tune!(SUITE)
8697# run(SUITE, verbose=true)
0 commit comments