Computational Physics, Python, Math, Physics.
1)*(u_np1[:,j-1] - u_n[:,j]) u_nm1 = u_n.copy() u_n = u_np1.copy() U[:,:,n] = u_n.copy() ######################### PLOT ############################# anim = viz_tools.anim_2D(X,Y,U,dt,5) anim2 = viz_tools.anim_2D_flat(X,Y,U,dt,2) plt.show() Conclusion In conclusion, this article delved into the