File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ def main():
2222 """
2323 QI = 'LU'
2424 # run_diffusion(QI=QI)
25- run_advection (QI = QI )
25+ # run_advection(QI=QI)
2626
2727 QI = 'LU2'
2828 # run_diffusion(QI=QI)
29- run_advection (QI = QI )
29+ # run_advection(QI=QI)
3030
3131 plot_results ()
3232
@@ -294,7 +294,7 @@ def plot_results(cwd=''):
294294 plt .figure ()
295295 plt .xlabel ('number of time-steps (L)' )
296296 plt .ylabel ('#iterations' )
297- plt .xlim (min (xvalues_1 + xvalues_2 ) / 2 , max (xvalues_1 + xvalues_2 ) * 2 )
297+ plt .xlim (min (xvalues_1 + xvalues_2 ) / 2.0 , max (xvalues_1 + xvalues_2 ) * 2.0 )
298298 plt .ylim (min (niter_1 + niter_2 ) - 1 , max (niter_1 + niter_2 ) + 1 )
299299 plt .grid ()
300300
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ def plot_results(nsweeps):
288288 plt .figure ()
289289 plt .xlabel (r'$\mu$' )
290290 plt .ylabel ('#iterations' )
291- plt .xlim (min (xvalues_diff + xvalues_adv ) / 10 , max (xvalues_diff + xvalues_adv ) * 10 )
291+ plt .xlim (min (xvalues_diff + xvalues_adv ) / 10.0 , max (xvalues_diff + xvalues_adv ) * 10.0 )
292292 plt .ylim (min (niter_diff + niter_adv ) - 1 , max (niter_diff + niter_adv ) + 1 )
293293 plt .grid ()
294294
You can’t perform that action at this time.
0 commit comments