tFixed indentation error in visualize - 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 3cc7eb7189cf4b729e96c6194a32c654bd71ccb2
(DIR) parent 32aa82ca3460678905bc173dff8b1259992d01b3
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Tue, 27 Nov 2012 14:46:42 +0100
Fixed indentation error in visualize
Diffstat:
M python/sphere.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -1211,8 +1211,8 @@ def visualize(project, method = 'energy', savefig = True, outformat = 'png'):
sb = Spherebin()
# Read stress values from project binaries
for i in range(lastfile+1):
- fn = "../output/{0}.output{1:0=5}.bin".format(project, i)
- sb.readbin(fn, verbose = False)
+ fn = "../output/{0}.output{1:0=5}.bin".format(project, i)
+ sb.readbin(fn, verbose = False)
# First iteration: Allocate arrays and find constant values
if (i == 0):