From def8b5262e183297ccee42ebbf9ebdb89c10f44c Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 03 Jul 2016 18:21:13 +0000 Subject: [PATCH] restoring vertices with spontaneous curvatures seems to work, however, the dumped energy differs on last few decimal places --- python/trisurf/tsmgr.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/python/trisurf/tsmgr.py b/python/trisurf/tsmgr.py index 8b38c95..fa7d20f 100644 --- a/python/trisurf/tsmgr.py +++ b/python/trisurf/tsmgr.py @@ -80,8 +80,7 @@ elif opt == '-k': if processno: - p=psutil.Process(Runs[processno-1].getPID()) - p.kill() + Runs[processno-1].stop() else: printHelp() sys.exit(2) -- Gitblit v1.9.3