started with some poor code on pressure propagation

This commit is contained in:
Brantegger Georg
2022-05-24 10:27:48 +02:00
parent 9f1f7d9e24
commit aa85de6f36
2 changed files with 94 additions and 0 deletions

View File

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