-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from JuliaDiffEq/myb/sub
Use submodules
- Loading branch information
Showing
11 changed files
with
124 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,25 @@ | ||
__precompile__(false) | ||
__precompile__(true) | ||
|
||
module DiffEqProblemLibrary | ||
|
||
using DiffEqBase, ParameterizedFunctions, DiffEqOperators, DiffEqBiological, | ||
LinearAlgebra | ||
|
||
include("ode/ode_premade_problems.jl") | ||
include("dae_premade_problems.jl") | ||
include("dde_premade_problems.jl") | ||
include("sde_premade_problems.jl") | ||
include("jump_premade_problems.jl") | ||
|
||
#ODE Example Problems | ||
export prob_ode_linear, prob_ode_bigfloatlinear, prob_ode_2Dlinear, | ||
prob_ode_large2Dlinear, prob_ode_bigfloat2Dlinear, prob_ode_rigidbody, | ||
prob_ode_2Dlinear_notinplace, prob_ode_vanderpol, prob_ode_vanderpol_stiff, | ||
prob_ode_lorenz, prob_ode_rober, prob_ode_threebody, prob_ode_mm_linear, prob_ode_pleiades, | ||
prob_ode_brusselator_1d, prob_ode_brusselator_2d, prob_ode_orego, | ||
prob_ode_hires, prob_ode_pollution, prob_ode_filament, | ||
SolverDiffEq, filament_prob | ||
|
||
#SDE Example Problems | ||
export prob_sde_wave, prob_sde_linear, prob_sde_cubic, prob_sde_2Dlinear, | ||
prob_sde_lorenz, prob_sde_2Dlinear, prob_sde_additive, | ||
prob_sde_additivesystem, oval2ModelExample, prob_sde_bistable, | ||
prob_sde_bruss, prob_sde_oscilreact | ||
module ODEProblemLibrary | ||
importodeproblems() = include(joinpath(@__DIR__, "ode/ode_premade_problems.jl")) | ||
end # module | ||
|
||
#SDE Stratonovich Example Problems | ||
export prob_sde_linear_stratonovich, prob_sde_2Dlinear_stratonovich | ||
module DAEProblemLibrary | ||
importdaeproblems() = include(joinpath(@__DIR__, "dae_premade_problems.jl")) | ||
end # module | ||
|
||
#DAE Example Problems | ||
export prob_dae_resrob | ||
module DDEProblemLibrary | ||
importddeproblems() = include(joinpath(@__DIR__, "dde_premade_problems.jl")) | ||
end # module | ||
|
||
# DDE Example Problems | ||
# examples with constant delays | ||
export prob_dde_1delay, prob_dde_1delay_notinplace, prob_dde_1delay_scalar_notinplace, | ||
prob_dde_2delays, prob_dde_2delays_notinplace, prob_dde_2delays_scalar_notinplace, | ||
prob_dde_1delay_long, prob_dde_1delay_long_notinplace, | ||
prob_dde_1delay_long_scalar_notinplace, prob_dde_2delays_long, | ||
prob_dde_2delays_long_notinplace, prob_dde_2delays_long_scalar_notinplace, | ||
prob_dde_mackey, prob_dde_wheldon, prob_dde_qs, | ||
# examples with vanishing time dependent delays | ||
prob_ddde_neves1, prob_dde_neves_thompson, | ||
# examples with state dependent delays | ||
prob_dde_paul1, prob_dde_paul2, prob_dde_mahaffy1, prob_dde_mahaffy2, | ||
# examples with vanishing state dependent delays | ||
prob_neves2, prob_dde_gatica | ||
module SDEProblemLibrary | ||
importsdeproblems() = include(joinpath(@__DIR__, "sde_premade_problems.jl")) | ||
end # module | ||
|
||
# Jump Example Problems | ||
export prob_jump_dnarepressor, prob_jump_constproduct, prob_jump_nonlinrxs, | ||
# examples mixing mass action and constant rate jumps | ||
prob_jump_osc_mixed_jumptypes, | ||
# examples used in published benchmarks / comparisions | ||
prob_jump_multistate, prob_jump_twentygenes, prob_jump_dnadimer_repressor, | ||
# examples approximating diffusion by continuous time random walks | ||
prob_jump_diffnetwork | ||
module JumpProblemLibrary | ||
importjumpproblems() = include(joinpath(@__DIR__, "jump_premade_problems.jl")) | ||
end # module | ||
|
||
end # module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
using DiffEqBase | ||
|
||
#DAE Example Problems | ||
export prob_dae_resrob | ||
|
||
### DAE Problems | ||
|
||
f = function (r, yp, y, p, tres) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.