bugfix: not yet done: problem with cusioning around topography

This commit is contained in:
Marcel Paffrath 2015-11-04 10:13:52 +01:00
parent dc4d19ba88
commit d8a59ac81d

View File

@ -486,7 +486,7 @@ class SeisArray(object):
topo = point[2] topo = point[2]
z = -(R + topo - radius) z = -(R + topo - radius)
if z > (topo + 1): if z > (topo + 1):
vel = 0.0 vel = vtop[0]
elif (topo + 1) >= z > topo: # cushioning around topography elif (topo + 1) >= z > topo: # cushioning around topography
vel = vtop[0] vel = vtop[0]
else: else: