Skip to content

Commit 4c32d0b

Browse files
benegeeCompatHelper Juliadependabot[bot]
authored
OrdinaryDiffEq updates (#276)
* Bump crate-ci/typos from 1.42.1 to 1.43.3 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.42.1 to 1.43.3. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](crate-ci/typos@v1.42.1...v1.43.3) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-version: 1.43.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * use successful_retcode * remove Trixi 0.15 compat * use OrdinaryDiffEqLowStorageRK subpackage * OrdinaryDiffEqLowStorageRK in test and project * use SciMLBase --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f5fffee commit 4c32d0b

11 files changed

+14
-34
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
- name: Checkout Actions Repository
1111
uses: actions/checkout@v6
1212
- name: Check spelling
13-
uses: crate-ci/typos@v1.42.1
13+
uses: crate-ci/typos@v1.43.3

LibTrixi.jl/Project.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,13 @@ authors = ["Michael Schlottke-Lakemper <michael@sloede.com>", "Benedict Geihe <b
55

66
[deps]
77
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
8-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
98
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
9+
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1010
Trixi = "a7f1ee26-1774-49b1-8366-f1abc58fbfcb"
1111

1212
[compat]
1313
MPI = "0.20.13"
14-
OrdinaryDiffEq = "6.53.2"
1514
Pkg = "1.8"
15+
SciMLBase = "2.33.0"
1616
Trixi = "0.11.12, 0.12, 0.13, 0.14"
1717
julia = "1.8"
18-
19-
[preferences.OrdinaryDiffEq]
20-
PrecompileAutoSpecialize = false
21-
PrecompileAutoSwitch = false
22-
PrecompileDefaultSpecialize = true
23-
PrecompileFunctionWrapperSpecialize = false
24-
PrecompileLowStorage = true
25-
PrecompileNoSpecialize = false
26-
PrecompileNonStiff = true
27-
PrecompileStiff = false

LibTrixi.jl/examples/libelixir_p4est2d_euler_sedov.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using LibTrixi
22
using Trixi
3-
using OrdinaryDiffEq
3+
using OrdinaryDiffEqLowStorageRK
44

55
# The function to create the simulation state needs to be named `init_simstate`
66
function init_simstate()

LibTrixi.jl/examples/libelixir_t8code2d_euler_tracer_amr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using LibTrixi
2-
using OrdinaryDiffEq
2+
using OrdinaryDiffEqLowStorageRK
33
using Trixi
44

55
# The function to create the simulation state needs to be named `init_simstate`

LibTrixi.jl/examples/libelixir_t8code3d_euler_baroclinic_instability.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# A proposed baroclinic wave test case for deep- and shallow-atmosphere dynamical cores
1010
# https://doi.org/10.1002/qj.2241
1111

12-
using OrdinaryDiffEq
12+
using OrdinaryDiffEqLowStorageRK
1313
using Trixi
1414
using LinearAlgebra
1515
using LibTrixi

LibTrixi.jl/examples/libelixir_t8code3d_euler_tracer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Note that this libelixir is based on an elixir by Erik Faulhaber for Trixi.jl
55
# Source: https://github.com/trixi-framework/Trixi.jl/blob/main/examples/p4est_3d_dgsem/elixir_euler_circular_wind_nonconforming.jl
66

7-
using OrdinaryDiffEq
7+
using OrdinaryDiffEqLowStorageRK
88
using Trixi
99
using LinearAlgebra
1010
using LibTrixi

LibTrixi.jl/examples/libelixir_tree1d_advection_basic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using LibTrixi
22
using Trixi
3-
using OrdinaryDiffEq
3+
using OrdinaryDiffEqLowStorageRK
44

55
# The function to create the simulation state needs to be named `init_simstate`
66
function init_simstate()

LibTrixi.jl/src/LibTrixi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module LibTrixi
22

3-
using OrdinaryDiffEq: OrdinaryDiffEq, step!, check_error, DiscreteCallback
3+
using SciMLBase: step!, check_error, successful_retcode, DiscreteCallback
44
using Trixi: Trixi, summary_callback, mesh_equations_solver_cache, ndims, nelements,
55
nelementsglobal, ndofs, ndofsglobal, nvariables, nnodes, wrap_array,
66
eachelement, cons2prim, get_node_vars, eachnode

LibTrixi.jl/src/api_jl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function trixi_step_jl(simstate)
3030

3131
ret = check_error(simstate.integrator)
3232

33-
if ret != :Success
33+
if !successful_retcode(ret)
3434
error("integrator failed to perform time step, return code: ", ret)
3535
end
3636

LibTrixi.jl/test/Project.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
[deps]
2-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
2+
OrdinaryDiffEqLowStorageRK = "b0944070-b475-4768-8dec-fb6eb410534d"
33
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
44
Trixi = "a7f1ee26-1774-49b1-8366-f1abc58fbfcb"
55

66
[compat]
7-
OrdinaryDiffEq = "6.53.2"
7+
OrdinaryDiffEqLowStorageRK = "1"
88
Trixi = "0.11.12, 0.12, 0.13, 0.14"
9-
10-
[preferences.OrdinaryDiffEq]
11-
PrecompileAutoSpecialize = false
12-
PrecompileAutoSwitch = false
13-
PrecompileDefaultSpecialize = true
14-
PrecompileFunctionWrapperSpecialize = false
15-
PrecompileLowStorage = true
16-
PrecompileNoSpecialize = false
17-
PrecompileNonStiff = true
18-
PrecompileStiff = false

0 commit comments

Comments
 (0)