diff --git a/src/DormandPrince.jl b/src/DormandPrince.jl index 92056a3..525cd76 100644 --- a/src/DormandPrince.jl +++ b/src/DormandPrince.jl @@ -5,10 +5,10 @@ using Base.Iterators:repeated, Repeated # internal imports include("types.jl") include("interface.jl") -include("dp5_impl/mod.jl") +include("dp5/mod.jl") -using DormandPrince.DP5Impl: core_integrator +using DormandPrince. DP5: core_integrator # export Interface export DP5Solver, integrate diff --git a/src/dp5_impl/checks.jl b/src/dp5/checks.jl similarity index 100% rename from src/dp5_impl/checks.jl rename to src/dp5/checks.jl diff --git a/src/dp5_impl/helpers.jl b/src/dp5/helpers.jl similarity index 100% rename from src/dp5_impl/helpers.jl rename to src/dp5/helpers.jl diff --git a/src/dp5_impl/mod.jl b/src/dp5/mod.jl similarity index 90% rename from src/dp5_impl/mod.jl rename to src/dp5/mod.jl index 1091ff6..60e8fa3 100644 --- a/src/dp5_impl/mod.jl +++ b/src/dp5/mod.jl @@ -1,4 +1,4 @@ -module DP5Impl +module DP5 using ..DormandPrince: DormandPrince, DP5Solver, Vars, Consts, Options, Report diff --git a/src/dp5_impl/solver.jl b/src/dp5/solver.jl similarity index 100% rename from src/dp5_impl/solver.jl rename to src/dp5/solver.jl diff --git a/test/checks.jl b/test/checks.jl index 3939563..c264f54 100644 --- a/test/checks.jl +++ b/test/checks.jl @@ -1,5 +1,5 @@ using Test -using DormandPrince.DP5Impl: +using DormandPrince. DP5: Options, check_max_allowed_steps, check_uround, diff --git a/test/errors.jl b/test/errors.jl index e101e35..4dfa9f3 100644 --- a/test/errors.jl +++ b/test/errors.jl @@ -5,7 +5,7 @@ using DormandPrince: LARGER_NMAX_NEEDED, STEP_SIZE_BECOMES_TOO_SMALL -using DormandPrince.DP5Impl: dopcor +using DormandPrince. DP5: dopcor function fcn(x, y, f) f[1] = y[1]^2 - y[1]^3