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 _
|
on(btn_start.clicks) do _
|
||||||
running[] = !running[]
|
running[] = !running[]
|
||||||
if running[]
|
if running[]
|
||||||
reset!(U, V, heat_obs)
|
|
||||||
@async while running[]
|
@async while running[]
|
||||||
multi_step!((U, V), stepsize[], heat_obs, params_obs)
|
multi_step!((U, V), stepsize[], heat_obs, params_obs)
|
||||||
sleep(0.0015)
|
sleep(0.0015)
|
||||||
|
|
@ -164,8 +163,8 @@ function build_ui(U, V, Du, Dv, F, k, params_obs, heat_obs)
|
||||||
Dv[] = 0.078
|
Dv[] = 0.078
|
||||||
F[] = 0.0617
|
F[] = 0.0617
|
||||||
k[] = 0.062
|
k[] = 0.062
|
||||||
|
U .= 1.0
|
||||||
reset!(U, V, heat_obs)
|
V .= 0.0
|
||||||
starting_points!(U, V)
|
starting_points!(U, V)
|
||||||
heat_obs[] = copy(U)
|
heat_obs[] = copy(U)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue