File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,15 @@ using ModelingToolkit: Differential
3434 dx = (xmax - xmin) / 20
3535 discretization = MOLFiniteDifference ([x => dx], t, advection_scheme = WENOScheme ())
3636
37- @test_broken (discretize (pdesys, discretization) isa ODEProblem)
38- # prob = discretize(pdesys, discretization)
39- # sol = solve(prob, FBDF())
37+ prob = discretize (pdesys, discretization)
38+ sol = solve (prob, FBDF ())
4039
41- # xdisc = sol[x]
42- # tdisc = sol[t]
43- # usol = sol[u(t,x)]
40+ xdisc = sol[x]
41+ tdisc = sol[t]
42+ usol = sol[u (t,x)]
4443
45- # asol = [assf(t, x) for t in tdisc, x in xdisc]
46- # @test_broken usol ≈ asol atol = 1e-3
44+ asol = [assf (t, x) for t in tdisc, x in xdisc]
45+ @test_broken usol ≈ asol atol = 1e-3
4746end
4847
4948@testset " Test 01: Dt(u) ~ Dxy(u)" begin
You can’t perform that action at this time.
0 commit comments