finalize jaguar pattern
parent
1d4fdda085
commit
61a6425b4c
|
|
@ -151,7 +151,6 @@ function build_ui(U, V, Du, Dv, F, k, params_obs, heat_obs)
|
|||
on(btn_start.clicks) do _
|
||||
running[] = !running[]
|
||||
if running[]
|
||||
reset!(U, V, heat_obs)
|
||||
@async while running[]
|
||||
multi_step!((U, V), stepsize[], heat_obs, params_obs)
|
||||
sleep(0.0015)
|
||||
|
|
@ -164,8 +163,8 @@ function build_ui(U, V, Du, Dv, F, k, params_obs, heat_obs)
|
|||
Dv[] = 0.078
|
||||
F[] = 0.0617
|
||||
k[] = 0.062
|
||||
|
||||
reset!(U, V, heat_obs)
|
||||
U .= 1.0
|
||||
V .= 0.0
|
||||
starting_points!(U, V)
|
||||
heat_obs[] = copy(U)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue