diff --git a/.gitignore b/.gitignore index eff5f6d..f1763f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /.vscode **/**/**.cov -/Manifest.toml +Manifest.toml /docs/build/ /docs/Manifest.toml /docs/src/assets/main.css diff --git a/benchmarks/Project.toml b/benchmarks/Project.toml index 541dee7..f6539c7 100644 --- a/benchmarks/Project.toml +++ b/benchmarks/Project.toml @@ -1,3 +1,4 @@ [deps] BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" +DormandPrince = "5e45e72d-22b8-4dd0-9c8b-f96714864bcd" diff --git a/benchmarks/rabi-dormand-prince.jl b/benchmarks/rabi-dormand-prince.jl index 5ad4067..38b41f2 100644 --- a/benchmarks/rabi-dormand-prince.jl +++ b/benchmarks/rabi-dormand-prince.jl @@ -1,5 +1,5 @@ using BenchmarkTools -using DormandPrince:DP5Solver, core_integrator +using DormandPrince:DP5Solver, integrate function fcn(x, y, f) g(x) = 2.2*2π*sin(2π*x) @@ -14,6 +14,6 @@ solver = DP5Solver( ComplexF64[1.0, 0.0] ) - core_integrator(solver, 2π) +integrate(solver, 2π) -@benchmark core_integrator(clean_solver, 2π) setup=(clean_solver = DP5Solver(fcn, 0.0, ComplexF64[1.0, 0.0])) samples=10000 evals=5 seconds=500 \ No newline at end of file +@benchmark integrate(clean_solver, 2π) setup=(clean_solver = DP5Solver(fcn, 0.0, ComplexF64[1.0, 0.0])) samples=10000 evals=5 seconds=500 \ No newline at end of file