Skip to content

Commit 1600031

Browse files
contain to the MT portions
1 parent bd76e50 commit 1600031

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2020
julia = "1"
2121

2222
[extras]
23-
DiffEqOperators = "9fdde737-9c7f-55bf-ade8-46b3f136cc48"
2423
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
2524
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2625

2726
[targets]
28-
test = ["DiffEqOperators", "OrdinaryDiffEq", "Test"]
27+
test = ["OrdinaryDiffEq", "Test"]

test/pde.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using ModelingToolkit, DiffEqOperators, DiffEqBase, LinearAlgebra
1+
using ModelingToolkit, DiffEqBase, LinearAlgebra
22

33
# Define some variables
44
@parameters t x
@@ -13,8 +13,3 @@ domains = [t ∈ IntervalDomain(0.0,1.0),
1313
x IntervalDomain(0.0,1.0)]
1414

1515
pdesys = PDESystem(eq,bcs,domains,[t,x],[u])
16-
discretization = MOLFiniteDifference(0.1)
17-
prob = discretize(pdesys,discretization) # This gives an ODEProblem since it's time-dependent
18-
19-
using OrdinaryDiffEq
20-
sol = solve(prob,Tsit5(),saveat=0.1)

0 commit comments

Comments
 (0)