Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqFeagin/src/OrdinaryDiffEqFeagin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module OrdinaryDiffEqFeagin
import OrdinaryDiffEqCore: perform_step!,
OrdinaryDiffEqMutableCache, OrdinaryDiffEqConstantCache,
OrdinaryDiffEqAdaptiveAlgorithm, CompiledFloats,
alg_cache, @cache,
alg_adaptive_order, alg_cache, @cache,
constvalue, get_fsalfirstlast,
trivial_limiter!
import SciMLBase: alg_order
Expand Down
5 changes: 5 additions & 0 deletions lib/OrdinaryDiffEqFeagin/test/ode_feagin_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import ODEProblemLibrary: prob_ode_bigfloatlinear,
prob_ode_bigfloat2Dlinear,
prob_ode_2Dlinear

@testset "alg_adaptive_order extends OrdinaryDiffEqCore" begin
@test OrdinaryDiffEqFeagin.OrdinaryDiffEqCore.alg_adaptive_order(Feagin10()) == 8
@test OrdinaryDiffEqFeagin.OrdinaryDiffEqCore.alg_adaptive_order(Feagin14()) == 12
end

## Convergence Testing
println("Convergence Test on Linear")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import OrdinaryDiffEqCore: default_controller, IController,
OrdinaryDiffEqNewtonAdaptiveAlgorithm,
OrdinaryDiffEqMutableCache, OrdinaryDiffEqConstantCache,
alg_cache, @cache,
alg_can_repeat_jac,
get_fsalfirstlast, increment_nf!, set_EEst!,
generic_solver_docstring, _fixup_ad,
get_W, isnewton
Expand Down
1 change: 0 additions & 1 deletion lib/OrdinaryDiffEqStabilizedIRK/src/alg_utils.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
alg_order(alg::IRKC) = 2
alg_adaptive_order(alg::IRKC) = 1
gamma_default(alg::IRKC) = 8 // 10
alg_can_repeat_jac(alg::IRKC) = false
issplit(alg::IRKC) = true
Expand Down
5 changes: 5 additions & 0 deletions lib/OrdinaryDiffEqStabilizedIRK/test/irkc_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
using OrdinaryDiffEqStabilizedIRK, Test, LinearAlgebra, Random
using OrdinaryDiffEqStabilizedIRK: maxeig!
import OrdinaryDiffEqCore

@testset "alg_can_repeat_jac extends OrdinaryDiffEqCore" begin
@test OrdinaryDiffEqCore.alg_can_repeat_jac(IRKC()) == false
end

@testset "Power Iteration of Runge-Kutta-Chebyshev Tests" begin
Random.seed!(123)
Expand Down
Loading