Solver: Mage: read_bin: Use np table for velocity computation.

opt-result
Pierre-Antoine 2026-06-26 16:20:32 +02:00
parent 7fd38eec00
commit 0501ae9bec
1 changed files with 2 additions and 2 deletions

View File

@ -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