tRenamed exec to run - 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 6c10a18995e2fbfac7bd59977d36e0eb68193475
(DIR) parent 2bedbd480e7b28012e20ca2b87df99fc452643a2
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Thu, 6 Sep 2012 13:36:16 +0200
Renamed exec to run
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -1065,7 +1065,7 @@ def visualize(project, method = 'energy', savefig = False, outformat = 'png'):
else:
plt.show()
-def exec(project):
+def run(project):
""" Execute sphere with target project
"""
subprocess.call("cd ..; ./sphere_*_X86_64 " + project, shell=True)