tUpdated shear stress output to text file - sphere - GPU-based 3D discrete elem… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 72b4bef96258d2eb7b79c02988aa05089dc1baad | |
parent f735d49d278c46b9178083db114283499c178170 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 26 Sep 2012 11:10:07 +0200 | |
Updated shear stress output to text file | |
Diffstat: | |
M python/sphere.py | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1064,6 +1064,7 @@ def visualize(project, method = 'energy', savefig = Fals… | |
# Write values to textfile | |
else: | |
filename = "shear-stresses-{0}.txt".format(project) | |
+ #print("Writing stress data to " + filename) | |
fh = None | |
try: | |
fh = open(filename, "w") |