Skip to content

Commit 3cbf5de

Browse files
authored
Merge branch 'main' into paper-2025-joss
2 parents f478c29 + 29e521e commit 3cbf5de

17 files changed

+131
-104
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
version:
27-
- '1'
28-
- '1.9'
27+
- '1.11'
28+
- '1.10' # current lts
2929
os:
3030
- ubuntu-latest
3131
include:
32-
- version: '1'
32+
- version: '1.10' # current lts
3333
os: macOS-latest
34-
- version: '1'
34+
- version: '1.10' # current lts
3535
os: windows-latest
3636
steps:
3737
- uses: actions/checkout@v4

.github/workflows/Downgrade.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
matrix:
2525
version:
2626
- '1.10' # current lts
27-
- '1.9'
2827
os:
2928
- ubuntu-latest
3029
arch:
@@ -39,7 +38,7 @@ jobs:
3938
- uses: julia-actions/cache@v2
4039
- uses: julia-actions/julia-downgrade-compat@v1
4140
with:
42-
skip: LinearAlgebra,SparseArrays,Statistics
41+
skip: LinearAlgebra,SparseArrays,Statistics,Test
4342
projects: ., test
4443
- uses: julia-actions/julia-buildpkg@v1
4544
env:

.github/workflows/FormatCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
#
2929
# julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.0"))'
3030
run: |
31-
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter", version="1.0.45"))'
31+
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter", version="1.0.60"))'
3232
julia -e 'using JuliaFormatter; format(".", verbose = true)'
3333
- name: Format check
3434
run: |

NEWS.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,29 @@ PositiveIntegrators.jl.jl follows the interpretation of
55
used in the Julia ecosystem. Notable changes will be documented in this file
66
for human readability.
77

8+
9+
## Changes in the v0.2 lifecycle
10+
11+
### Changed
12+
13+
- The minimum required Julia version was updated to v1.10
14+
15+
816
## Changes when updating to v0.2 from v0.1.x
917

1018
#### Removed
1119

1220
- The optional keyword argument `d_prototype` has been removed from `PDSProblem`
1321

22+
1423
## Changes in the v0.1 lifecycle
1524

1625
### Added
1726

1827
- MPRK methods `MPRK43I` and `MPRK43II` of Kopecz and Meister
1928
- SSP MPRK methods `SSPMPRK22` and `SSPMPRK43` of Huang and Shu
2029

30+
2131
## Initial release v0.1.0
2232

2333
- Production-destruction problems `PDSProblem` and `ConservativePDSProblem`,
@@ -26,5 +36,3 @@ for human readability.
2636
`prob_pds_linmod`, `prob_pds_nonlinmod`, `prob_pds_npzd`, `prob_pds_robertson`,
2737
`prob_pds_sir`, `prob_pds_stratreac`
2838
- Modified Patankar methods `MPE` and `MPRK22`
29-
30-

Project.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name = "PositiveIntegrators"
22
uuid = "d1b20bf0-b083-4985-a874-dc5121669aa5"
33
authors = ["Stefan Kopecz, Hendrik Ranocha, and contributors"]
4-
version = "0.2.6"
4+
version = "0.2.7"
55

66
[deps]
77
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
99
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
1010
MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221"
11-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
11+
OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
1212
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1313
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1414
SimpleUnPack = "ce78b400-467f-4804-87d8-8f486da07d0a"
@@ -17,15 +17,15 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1717
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1818

1919
[compat]
20-
FastBroadcast = "0.2.5, 0.3"
21-
LinearAlgebra = "1.7"
22-
LinearSolve = "2.21"
23-
MuladdMacro = "0.2.1"
24-
OrdinaryDiffEq = "6.59"
25-
Reexport = "1"
26-
SciMLBase = "2"
20+
FastBroadcast = "0.3.5"
21+
LinearAlgebra = "1"
22+
LinearSolve = "2.32"
23+
MuladdMacro = "0.2.4"
24+
OrdinaryDiffEqCore = "1.16"
25+
Reexport = "1.2.2"
26+
SciMLBase = "2.68"
2727
SimpleUnPack = "1"
28-
SparseArrays = "1.7"
29-
StaticArrays = "1.5"
30-
SymbolicIndexingInterface = "0.2, 0.3"
31-
julia = "1.9"
28+
SparseArrays = "1"
29+
StaticArrays = "1.9.7"
30+
SymbolicIndexingInterface = "0.3.36"
31+
julia = "1.10"

docs/Project.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
[deps]
22
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
3+
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
4+
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
35
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
46
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
57
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
68
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
7-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
9+
OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce"
810
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
911
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1012
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1113
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1214

1315
[compat]
1416
BenchmarkTools = "1"
17+
DiffEqBase = "6.160"
18+
DiffEqCallbacks = "4"
1519
Documenter = "1"
1620
InteractiveUtils = "1"
17-
LinearAlgebra = "1.7"
18-
LinearSolve = "2.21"
19-
OrdinaryDiffEq = "6.59"
21+
LinearAlgebra = "1"
22+
LinearSolve = "2.32"
23+
OrdinaryDiffEqRosenbrock = "1.4"
2024
Pkg = "1"
2125
Plots = "1"
22-
SparseArrays = "1.7"
23-
StaticArrays = "1.5"
26+
SparseArrays = "1"
27+
StaticArrays = "1.9.7"

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ makedocs(modules = [PositiveIntegrators],
7979
"Stratospheric reaction problem" => "stratospheric_reaction.md",
8080
"Linear Advection" => "linear_advection.md",
8181
"Heat Equation, Neumann BCs" => "heat_equation_neumann.md",
82-
"Heat Equation, Dirichlet BCs" => "heat_equation_dirichlet.md",
82+
"Heat Equation, Dirichlet BCs" => "heat_equation_dirichlet.md"
8383
],
8484
"Troubleshooting, FAQ" => "faq.md",
8585
"API reference" => "api_reference.md",
8686
"Contributing" => "contributing.md",
8787
"Code of conduct" => "code_of_conduct.md",
88-
"License" => "license.md",
88+
"License" => "license.md"
8989
])
9090

9191
deploydocs(repo = "github.com/SKopecz/PositiveIntegrators.jl",

docs/src/heat_equation_dirichlet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ versioninfo()
235235
println()
236236
237237
using Pkg
238-
Pkg.status(["PositiveIntegrators", "SparseArrays", "KLU", "LinearSolve", "OrdinaryDiffEq"],
238+
Pkg.status(["PositiveIntegrators", "SparseArrays", "KLU", "LinearSolve"],
239239
mode=PKGMODE_MANIFEST)
240240
nothing # hide
241241
```

docs/src/heat_equation_neumann.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ versioninfo()
213213
println()
214214
215215
using Pkg
216-
Pkg.status(["PositiveIntegrators", "SparseArrays", "KLU", "LinearSolve", "OrdinaryDiffEq"],
216+
Pkg.status(["PositiveIntegrators", "SparseArrays", "KLU", "LinearSolve"],
217217
mode=PKGMODE_MANIFEST)
218218
nothing # hide
219219
```

docs/src/index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Consequently the production matrix ``\mathbf P`` and destruction vector ``\mathb
7272
```
7373

7474
```@setup LotkaVolterra
75-
import Pkg; Pkg.add("OrdinaryDiffEq"); Pkg.add("Plots")
75+
import Pkg; Pkg.add("Plots")
7676
```
7777
To solve this PDS together with initial values ``u_1(0)=u_2(0)=2`` on the time domain ``(0,10)``, we first need to create a `PDSProblem`.
7878
```@example LotkaVolterra
@@ -134,10 +134,6 @@ The corresponding production matrix ``\mathbf P`` is
134134

135135
The following example shows how to implement the above SIR model with ``\beta=0.4, \gamma=0.04``, initial conditions ``S(0)=997, I(0)=3, R(0)=0`` and time domain ``(0, 100)`` using `ConservativePDSProblem` from [PositiveIntegrators.jl](https://github.com/SKopecz/PositiveIntegrators.jl).
136136

137-
```@setup SIR
138-
import Pkg; Pkg.add("OrdinaryDiffEq");
139-
```
140-
141137
```@example SIR
142138
using PositiveIntegrators
143139

0 commit comments

Comments
 (0)