tRenamed commands calling sphere to short format - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 2a0e3522194cb90c81103c9e322b8690753d9eee
(DIR) parent e5882d28eda810ce16d7d00ecfb5b4792a3391b9
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 19 Dec 2012 11:14:41 +0100
Renamed commands calling sphere to short format
Diffstat:
M python/sphere.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -995,7 +995,7 @@ class Spherebin:
if (dry == True):
dryarg = "--dry "
- subprocess.call("cd ..; ./sphere_* " + quiet + dryarg + "input/" + self.sid + ".bin " + stdout, shell=True)
+ subprocess.call("cd ..; ./sphere " + quiet + dryarg + "input/" + self.sid + ".bin " + stdout, shell=True)
def torqueScript(self,
t@@ -1031,7 +1031,7 @@ class Spherebin:
quiet = "-q"
# Render images using sphere raytracer
- subprocess.call("cd ..; ./sphere_* " + quiet \
+ subprocess.call("cd ..; ./sphere* " + quiet \
+ " --method " + method + " {}".format(max_val) \
+ " --render output/" + self.sid + "*.bin" \
, shell=True)
t@@ -1068,7 +1068,7 @@ def render(binary,
quiet = "-q"
# Render images using sphere raytracer
- subprocess.call("cd .. ; ./sphere_* " + quiet + \
+ subprocess.call("cd .. ; ./sphere " + quiet + \
" --method " + method + " {}".format(max_val) + \
" --render " + binary, shell=True)
t@@ -1369,7 +1369,7 @@ def run(binary, verbose=True, hideinputfile=False):
quiet = "-q"
if (hideinputfile == True):
stdout = " > /dev/null"
- subprocess.call("cd ..; ./sphere_* " + quiet + " " + binary + " " + stdout, shell=True)
+ subprocess.call("cd ..; ./sphere " + quiet + " " + binary + " " + stdout, shell=True)