Commit d857ef7
committed
Update for ModelingToolkit v11, OrdinaryDiffEq v7, DifferentialEquations v8
Bump compat for the breaking CompatHelper PRs:
- ModelingToolkit 10.10 -> 11 (main, test, docs)
- OrdinaryDiffEq 6 -> 7 (test)
- DifferentialEquations 7.6 -> 8 (docs)
- Replace ModelingToolkit `defaults` with `initial_conditions` in `deim`,
storing numeric initial values for the reduced unknowns derived from
the snapshot's first column. `defaults` was removed in MTK v11 and
replaced by `bindings` (for symbolic expressions) and
`initial_conditions` (for numeric values).
- Use `ModelingToolkit.bindings(sys)` semantics: keys must be whole array
symbolics, not scalarized indices, hence the array-valued assignment.
- Switch the tutorial from `structural_simplify` (deprecated in MTK v10)
to `mtkcompile`.
- Pass `missing_guess_value = ModelingToolkit.MissingGuessValue.Constant(0.0)`
to `ODEProblem` for the MOL-discretized FitzHugh-Nagumo system in the
test and docs to work around cyclic self-referencing guesses produced
by `MethodOfLines` under MTK v11.
Closes/supersedes the breaking-major CompatHelper PRs:
#127, #128, #137 (ModelingToolkit -> 11), #146 (OrdinaryDiffEq -> 7),
#147 (DifferentialEquations -> 8).
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent d1d261c commit d857ef7
6 files changed
Lines changed: 16 additions & 16 deletions
File tree
- docs
- src/tutorials
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
187 | 185 | | |
188 | 186 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments