File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11name = " ModelOrderReduction"
22uuid = " 207801d6-6cee-43a9-ad0c-f0c64933efa0"
33authors = [
" Bowen S. Zhu <[email protected] > and contributors" ]
4- version = " 0.1.1 "
4+ version = " 0.1.2 "
55
66[deps ]
77DocStringExtensions = " ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
@@ -15,7 +15,7 @@ TSVD = "9449cd9e-2762-5aa3-a617-5413e99d722e"
1515[compat ]
1616DocStringExtensions = " 0.8, 0.9"
1717LinearAlgebra = " 1"
18- ModelingToolkit = " 9 "
18+ ModelingToolkit = " 10 "
1919RandomizedLinAlg = " 0.1"
2020Setfield = " 0.8, 1"
2121SparseArrays = " 1"
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ Documenter = "1"
1414LaTeXStrings = " 1.3"
1515MethodOfLines = " 0.11"
1616ModelOrderReduction = " 0.1"
17- ModelingToolkit = " 9 "
17+ ModelingToolkit = " 10 "
1818Plots = " 1.40"
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ The LHS of equations in `sys` are all assumed to be 1st order derivatives. Use
112112`ModelingToolkit.ode_order_lowering` to transform higher order ODEs before applying DEIM.
113113
114114`sys` is assumed to have no internal systems. End users are encouraged to call
115- `ModelingToolkit.structural_simplify ` beforehand.
115+ `ModelingToolkit.mtkcompile ` beforehand.
116116
117117The POD basis used for DEIM interpolation is obtained from the snapshot matrix of the
118118nonlinear terms, which is computed by executing the runtime-generated function for
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ $(TYPEDSIGNATURES)
77Return the differential equations and other non-differential equations.
88
99For differential equations, this function assume the derivative is the only single term at
10- the left hand side, which is typically the result of `ModelingToolkit.structural_simplify `.
10+ the left hand side, which is typically the result of `ModelingToolkit.mtkcompile `.
1111
1212Equations from subsystems are not included.
1313"""
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1010Aqua = " 0.8"
1111OrdinaryDiffEq = " 6"
1212MethodOfLines = " 0.11"
13- ModelingToolkit = " 9 "
13+ ModelingToolkit = " 10 "
1414SafeTestsets = " 0.1"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ dxs = [x => dx]
3131order = 2
3232discretization = MOLFiniteDifference (dxs, t; approx_order = order)
3333ode_sys, tspan = symbolic_discretize (pde_sys, discretization)
34- simp_sys = structural_simplify (ode_sys) # field substitutions is non-empty
34+ simp_sys = mtkcompile (ode_sys) # field substitutions is non-empty
3535ode_prob = ODEProblem (simp_sys, nothing , tspan)
3636sol = solve (ode_prob, Tsit5 (), saveat = 1.0 )
3737
You can’t perform that action at this time.
0 commit comments