-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When the simulation is unstable, sometimes, I see this error message:
ERROR: LoadError: BoundsError: attempt to access 94-element Vector{Subzero.Status} at index [102]
Stacktrace:
[1] getindex
@ ./essentials.jl:13 [inlined]
[2] fuse_floes!(floes::StructArrays.StructVector{…}, max_floe_id::Int64, floe_settings::FloeSettings{…}, Δt::Int64, rng::Xoshiro)
@ Subzero ~/.julia/dev/Subzero/src/physical_processes/simplification.jl:243
[3] simplify_floes!(model::Model{…}, max_floe_id::Int64, simp_settings::SimplificationSettings{…}, collision_settings::CollisionSettings{…}, floe_settings::FloeSettings{…}, Δt::Int64, rng::Xoshiro)
@ Subzero ~/.julia/dev/Subzero/src/physical_processes/simplification.jl:366
[4] timestep_sim!(sim::Simulation{…}, tstep::Int64, start_tstep::Int64)
@ Subzero ~/.julia/dev/Subzero/src/simulation_components/simulation.jl:204
[5] run!(sim::Simulation{…}; logger::Nothing, messages_per_tstep::Int64, start_tstep::Int64)
@ Subzero ~/.julia/dev/Subzero/src/simulation_components/simulation.jl:291
[6] run!
@ ~/.julia/dev/Subzero/src/simulation_components/simulation.jl:286 [inlined]
[7] macro expansion
@ ./timing.jl:279 [inlined]
[8] run_time!(simulation::Simulation{…})
@ Main ~/.julia/dev/Subzero/examples/simple_strait.jl:80
[9] top-level scope
@ ~/.julia/dev/Subzero/examples/simple_strait.jl:100
[10] include(fname::String)
@ Base.MainInclude ./client.jl:489
[11] top-level scope
@ REPL[10]:1
in expression starting at /Users/skylargering/.julia/dev/Subzero/examples/simple_strait.jl:100
Some type information was truncated. Use `show(err)` to see complete types.I think that the instability is causing some of the floes to be removed and therefore, when it is time to fuse them, the floe list is all screwed up.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working