Skip to content

Commit 36e0071

Browse files
author
Daniel Ruprecht
committed
changed parameter
1 parent fd825f6 commit 36e0071

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/acoustic_1d_imex/runconvergence.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
#description['transfer_class'] = mesh_to_mesh_1d
5757
#description['transfer_params'] = tparams
5858

59-
Nsteps = [40, 80, 160]
60-
order = 6
59+
Nsteps = [20, 40, 50, 80]
60+
order = 2
6161
error = np.zeros(np.size(Nsteps))
6262

6363
# setup parameters "in time"
6464
t0 = 0
65-
Tend = 10.0
65+
Tend = 5.5
6666

6767
if order==2:
6868
file = open('conv-data.txt', 'w')
@@ -84,7 +84,7 @@
8484
uinit = P.u_exact(t0)
8585

8686
# call main function to get things done...
87-
uend,stats = mp.run_pfasst(MS,u0=uinit,t0=t0,dt=dt,Tend=Tend)
87+
uend,stats = mp.run_pfasst(MS, u0=uinit, t0=t0, dt=dt, Tend=Tend)
8888

8989
# compute exact solution and compare
9090
uex = P.u_exact(Tend)

0 commit comments

Comments
 (0)