Skip to content

Commit

Permalink
Remove step info from local_db
Browse files Browse the repository at this point in the history
  • Loading branch information
cjuli1 committed Oct 3, 2024
1 parent 6ee1223 commit 0caf03b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion src/local_db.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ get_dist_mp(db::LocalDB) = db.dist_mp
get_dist_sp(db::LocalDB) = db.dist_sp
get_core_main(db::LocalDB) = db.core_main
get_div(db::LocalDB) = db.div
get_t(db::LocalDB) = db.div["t"]::TuLiPa.ProbTime # TODO: Remove?

get_ifm(db::LocalDB) = db.ifm
get_dist_ifm(db::LocalDB) = db.dist_ifm
Expand Down
7 changes: 0 additions & 7 deletions src/prob_util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,6 @@ function get_states(modelobjects::Vector)
return states
end

# Step info-----------------------------------------------------------------------
function update_stepinfo(t)
db = get_local_db()
db.div["t"] = t
return
end

# Startstates-------------------------------------------------------------------------------------
function update_startstates(stepnr, t)
db = get_local_db()
Expand Down
8 changes: 0 additions & 8 deletions src/run_serial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -745,14 +745,6 @@ function step_jules(t, steplength, stepnr, skipmed)
end
end
end

println(t)
println("Step info")
@time begin
@sync for core in cores
@spawnat core update_stepinfo(t)
end
end

println("Startstates")
@time begin
Expand Down

0 comments on commit 0caf03b

Please sign in to comment.