Skip to content

Commit

Permalink
moving checks out of solver impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 committed Dec 22, 2023
1 parent 6624457 commit d499421
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 38 deletions.
1 change: 1 addition & 0 deletions src/DormandPrince.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ using Base.Iterators:repeated, Repeated
# internal imports
include("types.jl")
include("hinit.jl")
include("checks.jl")
include("interface.jl")
include("dp5/mod.jl")

Expand Down
File renamed without changes.
13 changes: 11 additions & 2 deletions src/dp5/mod.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
module DP5

using ..DormandPrince: DormandPrince, DP5Solver, Vars, Consts, Options, Report, hinit
using ..DormandPrince: DormandPrince,
DP5Solver,
Vars,
Consts,
Options,
Report,
hinit,
check_beta,
check_max_allowed_steps,
check_safety_factor,
check_uround

include("params.jl")
include("helpers.jl")
include("checks.jl")
include("solver.jl")

end
34 changes: 0 additions & 34 deletions src/dp8/checks.jl

This file was deleted.

13 changes: 11 additions & 2 deletions src/dp8/mod.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
module DP8

using ..DormandPrince: DormandPrince, DP8Solver, Vars, Consts, Options, Report, hinit
using ..DormandPrince: DormandPrince,
DP8Solver,
Vars,
Consts,
Options,
Report,
hinit,
check_beta,
check_max_allowed_steps,
check_safety_factor,
check_uround

include("params.jl")
include("helpers.jl")
include("checks.jl")
include("solver.jl")

end

0 comments on commit d499421

Please sign in to comment.