diff --git a/input.ini b/input.ini index a06ff21..2b09de2 100644 --- a/input.ini +++ b/input.ini @@ -23,6 +23,6 @@ Nt = 200 ; 500 (25*Nmft) number of time steps (25 per mean-free time) Nsim = 2 ; 3 number of simulations to run [options] -plotRealTime = False ; True ;set to false while using Numba -plotFigure = False -useNumba = False ; +plotRealTime = True ; True ;set to false while using Numba +plotFigure = True +useNumba = True ; diff --git a/src/main.py b/src/main.py index 86614f5..6cf0a4a 100755 --- a/src/main.py +++ b/src/main.py @@ -46,7 +46,6 @@ def main(): Nt = int(params['time']['Nt']) # number of time steps (25 per mean-free time) Nz = int(params['grid']['Nz']) - lambda_mfp = 1/(np.sqrt(2)*np.pi*n0) # mean free path ~= 225 Lz = Nz*lambda_mfp # height of box ~= 2250.8 Kn = lambda_mfp / Lz # Knudsen number = 0.1 @@ -59,6 +58,7 @@ def main(): # vector for recording v_y(z=0) if useNumba: + print("!!You have chhosen Numba, no live graphics will be plotted.") vy0,Nt,uw = dmscpyNumba(uw,Tw,n0,N,Nsim,Ncell,Nmft,Nt,Nz,Lz,Kn,tau,dt,dz,vol,Ne) else: vy0,Nt,uw = dmscpy(uw,Tw,n0,N,Nsim,Ncell,Nmft,Nt,Nz,Lz,Kn,tau,dt,dz,vol,Ne,plotRealTime)