enable stepping through solution with slider in makie
parent
b675e17c88
commit
1d3540bfbe
|
|
@ -1,10 +1,10 @@
|
||||||
include("../src/AnimalFurFHN.jl") # this loads the module code
|
include("../src/AnimalFurFHN.jl") # this loads the module code
|
||||||
using .AnimalFurFHN
|
using .AnimalFurFHN
|
||||||
# include optional visualizer only if needed:
|
# include optional visualizer only if needed:
|
||||||
# include("../src/visualization.jl")
|
include("../src/visualization.jl")
|
||||||
# using .Visualization
|
using .Visualization
|
||||||
|
|
||||||
# N = 100
|
N = 256
|
||||||
# tspan = (0.0, 1000.0)
|
# tspan = (0.0, 1000.0)
|
||||||
|
|
||||||
# sol = AnimalFurFHN.run_simulation(tspan, N)
|
# sol = AnimalFurFHN.run_simulation(tspan, N)
|
||||||
|
|
@ -26,4 +26,6 @@ end
|
||||||
|
|
||||||
# set time to more than 1000
|
# set time to more than 1000
|
||||||
sol = AnimalFurFHN.run_simulationG((0.0, 10000.0), 256)
|
sol = AnimalFurFHN.run_simulationG((0.0, 10000.0), 256)
|
||||||
animate_gray_scott(sol, 256, var=:U)
|
|
||||||
|
Visualization.step_through_solution(sol, N)
|
||||||
|
# animate_gray_scott(sol, 256, var=:U)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue