Computational Physics, Python, Math, Physics.
############### #Def of velocity (spatial scalar field) # def celer(x): # """ # constant velocity # """ # return 1 def celer(x): """ Single space variable fonction that represent the wave's velocity at a position x """ if x <=0.7: return 1 else: return 0.5 loop_exec = 1 # Processing loop execution