mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Solver: Mage: read_bin: Use np table for velocity computation.
This commit is contained in:
1 parent
7fd38eec00
commit
0501ae9bec
1 file changed
+2
-2
+2
-2
@@ -1198,8 +1198,8 @@ class Mage8(Mage):
|
|||||||
for r in reachs:
|
for r in reachs:
|
||||||
for pi, p in enumerate(r.profiles):
|
for pi, p in enumerate(r.profiles):
|
||||||
v = p.geometry.speed(
|
v = p.geometry.speed(
|
||||||
p.get_ts_key(t, "Q"),
|
table["Q"][ti, p.global_index],
|
||||||
p.get_ts_key(t, "Z")
|
table["Z"][ti, p.global_index],
|
||||||
)
|
)
|
||||||
r.set(pi, t, "V", v)
|
r.set(pi, t, "V", v)
|
||||||
velocity_arr[ti, j] = v
|
velocity_arr[ti, j] = v
|
||||||
|
|||||||
Reference in new issue
Block a user