Commit 625a7eb2 authored by Poulard Christine's avatar Poulard Christine :snake:
Browse files

Update subcritical_flow_channel_into_reservoir.py

parent 0fbec0d6
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -129,12 +129,12 @@ def update_from_sliders(val): ...@@ -129,12 +129,12 @@ def update_from_sliders(val):
plot_H.set_data(x, H) plot_H.set_data(x, H)
plot_fb = ax_profile.fill_between(x, y1=zf, y2=zsl, color="lightblue", alpha=0.75) plot_fb = ax_profile.fill_between(x, y1=zf, y2=zsl, color="lightblue", alpha=0.75)
fig.suptitle(f'profil en long // longitudinal profile, K={val:.2f}') fig.suptitle(f'profil en long // longitudinal profile, K={K_slider:.2f}')
else: else:
# on n'a pas pu calculer # on n'a pas pu calculer
plot_zsl.set_data(x0, h0) plot_zsl.set_data(x0, h0)
plot_H.set_data(x0, h0) plot_H.set_data(x0, h0)
fig.suptitle(f'profil en long, K={val:.2f} ; calcul impossible') fig.suptitle(f'profil en long, K={K_slider:.2f} ; calcul impossible')
if hn < h_critique: if hn < h_critique:
# print('le régime uniforme doit être fluvial : calcul impossible.') # print('le régime uniforme doit être fluvial : calcul impossible.')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment