Files
Python-DT_Slot_3/Messing Around/pressure_propagation.py
Georg ´Brantegger 6b9cf775c7 restructured folders
2022-06-09 13:09:13 +02:00

3 lines
63 B
Python

def pressure_update(p,p1=-1,p2=-1):
return 1/4*(2*p+p1+p2)