From ac89adcc584f24361b2a6f6f42121b57f50b5766 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Thu, 14 May 2026 14:04:35 +0200 Subject: [PATCH] Include speed in status output I find this useful information when watching the simulation do its thing, especially when reproducing a threebodybot video (with longer timeout) where you can match the speedup periods to those in the video. (The spaces and %-3d padding are to make sure that the output always overpaints any previous speed output.) --- threeBodyProb.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threeBodyProb.jl b/threeBodyProb.jl index 5c91614..79aebf1 100755 --- a/threeBodyProb.jl +++ b/threeBodyProb.jl @@ -356,7 +356,7 @@ function getData(nBodies; totalETol = 1e-5, maxIter = 1000, maxTime=60,minYrs=15 collision = nothing; collisionInds = nothing; escape = nothing; escapeInd = nothing skip = 1; maxSlowdown = 2^(-10); checkT = 1*yearSec; elapsedT = Δt; lastChecked = 0.; skipFac = 1; slowSkip = 1 while i 2 skip = skipFac*slowSkip