From 0caf03b5d98e6a32e4750292f5c6dd19fc9f5c7b Mon Sep 17 00:00:00 2001 From: cjuli1 Date: Thu, 3 Oct 2024 13:11:43 +0200 Subject: [PATCH] Remove step info from local_db --- src/local_db.jl | 1 - src/prob_util.jl | 7 ------- src/run_serial.jl | 8 -------- 3 files changed, 16 deletions(-) diff --git a/src/local_db.jl b/src/local_db.jl index 625bdfb..efba80a 100644 --- a/src/local_db.jl +++ b/src/local_db.jl @@ -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 diff --git a/src/prob_util.jl b/src/prob_util.jl index 9c704ad..008da87 100644 --- a/src/prob_util.jl +++ b/src/prob_util.jl @@ -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() diff --git a/src/run_serial.jl b/src/run_serial.jl index faf694d..782b245 100644 --- a/src/run_serial.jl +++ b/src/run_serial.jl @@ -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