File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -218,12 +218,12 @@ def save_experiments(experimental_series, prefix):
218218x2 = 2.0 # right boundary
219219
220220# convergence in time: setup
221- T = 1 * .5 ** 5 # maximum time
222- tau0 = T * .5 ** 2 # timestep init
223- N_tau = 5 # we run experiments for all tau = tau0*(.5)**(0...N_tau)
224- tau_ref = tau0 * ( .5 ) ** (N_tau + 1 )
221+ T = 1 # maximum time
222+ tau0 = T * 0.25 # timestep init
223+ N_tau = 10 # we run experiments for all tau = tau0*(.5)**(0...N_tau)
224+ tau_ref = tau0 * 0.5 ** (N_tau + 1 )
225225
226- experiment_timesteps = [tau0 * .5 ** n for n in range (N_tau )]
226+ experiment_timesteps = [tau0 * 0 .5 ** n for n in range (N_tau )]
227227
228228# spatial discretization: identical grid left and right
229229N_gridpoints_left = 6
You can’t perform that action at this time.
0 commit comments