Computational Physics, Python, Math, Physics.
""" constant velocity """ return 1 loop_exec = 1 # Processing loop execution flag bound_cond = 2 #Boundary cond 1 : Dirichlet, 2 : Neumann, 3 Mur if bound_cond not in [1,2,3]: loop_exec = 0 print("Please choose a correct boundary condition") #Spatial mesh - i indices L_x = 5 #Range of the domain