forked from SciML/OrdinaryDiffEq.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDiffEqDevTools.jl
More file actions
53 lines (38 loc) · 1.71 KB
/
DiffEqDevTools.jl
File metadata and controls
53 lines (38 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module DiffEqDevTools
using DiffEqBase: AbstractODEAlgorithm
using DiffEqBase, RecipesBase, RecursiveArrayTools, DiffEqNoiseProcess, StructArrays
using NLsolve, LinearAlgebra, RootedTrees
using LinearAlgebra, Distributed
using Statistics
import Base: length
import DiffEqBase: AbstractODEProblem, AbstractDDEProblem, AbstractDDEAlgorithm,
AbstractODESolution, AbstractRODEProblem, AbstractSDEProblem,
AbstractSDDEProblem, AbstractEnsembleProblem,
AbstractDAEProblem, AbstractBVProblem, @def, ConvergenceSetup,
DEAlgorithm,
ODERKTableau, AbstractTimeseriesSolution, ExplicitRKTableau,
ImplicitRKTableau
import LinearAlgebra: norm, I
const TIMESERIES_ERRORS = Set([:l2, :l∞, :L2, :L∞])
const DENSE_ERRORS = Set([:L2, :L∞])
const WEAK_TIMESERIES_ERRORS = Set([:weak_l2, :weak_l∞])
const WEAK_DENSE_ERRORS = Set([:weak_L2, :weak_L∞])
const WEAK_ERRORS = union(Set([:weak_final]),
WEAK_TIMESERIES_ERRORS, WEAK_DENSE_ERRORS)
const ALL_ERRORS = union([:final],
TIMESERIES_ERRORS, DENSE_ERRORS, WEAK_TIMESERIES_ERRORS, WEAK_DENSE_ERRORS, WEAK_ERRORS)
include("benchmark.jl")
include("convergence.jl")
include("plotrecipes.jl")
include("test_solution.jl")
include("ode_tableaus.jl")
include("tableau_info.jl")
export ConvergenceSimulation, Shootout, ShootoutSet, TestSolution
#Benchmark Functions
export Shootout, ShootoutSet, WorkPrecision, WorkPrecisionSet
export test_convergence, analyticless_test_convergence, appxtrue!, appxtrue
export get_sample_errors
#Tab Functions
export stability_region, residual_order_condition, check_tableau, imaginary_stability_interval
export deduce_Butcher_tableau
end # module