From 6568b37aa57568c2ddae9493682a19f0da2b2f98 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Thu, 02 Jun 2016 21:00:55 +0000
Subject: [PATCH] questionable commit -- the ETA is calculated using only last two entries in statistics. That solves the problem of restarting; however, it can happen that the precision of ETA is bad

---
 python/myTestConfig.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/python/myTestConfig.py b/python/myTestConfig.py
index e259078..aa307f4 100755
--- a/python/myTestConfig.py
+++ b/python/myTestConfig.py
@@ -1,7 +1,7 @@
 #!/usr/bin/python3
 from trisurf import tsmgr
 from trisurf import trisurf
-
+from trisurf import statistics
 
 
 print("Running trisurf version "+ tsmgr.getTrisurfVersion())
@@ -10,6 +10,7 @@
 run1=trisurf.Runner(snapshot='snapshot.vtu')
 run1.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono"))
 run1.setSubdir("run0")
+
 
 #Example how to start simulation from tape. Extra argument in runArgs will be passed to trisurf executable (meaning that simulation will always start from the beginning (bipyramid) ignoring the fact that some states may have been calculated already)
 run2=trisurf.Runner(tape='tape', runArgs=['--force-from-tape'])
@@ -29,4 +30,4 @@
 Runs=[run1,run2]+pRun
 #start manager with configured runs
 tsmgr.start(Runs)
-
+#statistics.combine([run1,run2])

--
Gitblit v1.9.3