mirror of https://gitlab.com/pamhyr/pamhyr2
Solver: Mage: read_bin: Use np table for velocity computation.
parent
7fd38eec00
commit
0501ae9bec
|
|
@ -1198,8 +1198,8 @@ class Mage8(Mage):
|
|||
for r in reachs:
|
||||
for pi, p in enumerate(r.profiles):
|
||||
v = p.geometry.speed(
|
||||
p.get_ts_key(t, "Q"),
|
||||
p.get_ts_key(t, "Z")
|
||||
table["Q"][ti, p.global_index],
|
||||
table["Z"][ti, p.global_index],
|
||||
)
|
||||
r.set(pi, t, "V", v)
|
||||
velocity_arr[ti, j] = v
|
||||
|
|
|
|||
Loading…
Reference in New Issue