tgarciabotero / FluEgg

A three-dimensional Lagrangian model capable of evaluating the influence of flow velocity, shear dispersion and turbulent diffusion on the transport and dispersal patterns of Asian carp eggs is presented. The model’s variables include not only biological behavior (growth rate, density changes) but also the physical characteristics of the flow field, such as mean velocities and eddy diffusivities.
Other
18 stars 14 forks source link

Checkbox Flow activated when it shouldn't #7

Closed santi-scruz closed 7 years ago

santi-scruz commented 7 years ago

popup_HECRAS_profile_Callback() activates the _checkboxflow button when first in list of profiles (all profiles-unsteady flows) is selected. Even if Depth checkbox is already selected. That, shouldn't happen.

santi-scruz commented 7 years ago

One way to solve this is to to do nothing when selecting any profile in the HEC-RAS profiles pop-up list. However, the default value when the EditRiverInputFile window opens will be with Flow checkbox ON. That is by adding the lines of code at _Edit_River_Input_FileOpeningFcn

set(handles.checkbox_flow, 'value', 1)

and at init_ImportHECRAS_panel

set(handles.checkbox_flow, 'value', 1) set(handles.checkbox_H , 'value', 0)

santi-scruz commented 7 years ago

Solved in commit 32745bf