Introduction
Introduction Statistics Contact Development Disclaimer Help
tOnly a single spherebin is passed to the raytracer at a time - sphere - GPU-ba…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 38656ba76b71da03143f5195572cf5df4f0c7aae
parent a06b4c3144cc68a125b24146090ed94c096f8850
Author: Anders Damsgaard <[email protected]>
Date: Thu, 24 Jan 2013 15:55:23 +0100
Only a single spherebin is passed to the raytracer at a time
Diffstat:
M python/sphere.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -1004,10 +1004,10 @@ class Spherebin:
quiet = "-q"
# Render images using sphere raytracer
- subprocess.call("cd ..; ./sphere " + quiet \
+ subprocess.call("cd ..; for F in `ls output/" + self.sid + "*.bin`; do…
+ " --method " + method + " {}".format(max_val) \
+ " -l {}".format(lower_cutoff) \
- + " --render output/" + self.sid + "*.bin" \
+ + " --render $F; done" \
, shell=True)
# Convert images to compressed format
t@@ -1222,7 +1222,7 @@ class Spherebin:
# Plot thinsection with gnuplot script
gamma = self.shearstrain()
- subprocess.call("""cd ../gnuplot/scripts && gnuplot -e "sid='{}'; gamm…
+ subprocess.call("""cd ../gnuplot/scripts && gnuplot -e "sid='{}'; gamm…
self.sid, self.shearstrain(), self.origo[0], self.L[0], self.o…
# Find all particles who have a slip velocity higher than slipvel
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.