tFixed indentation error - 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 95737ec71489c011b605b4590ef33e2967330252
 (DIR) parent bfe30265a08db2ac113dc5d97ca2aa9c97cadfd2
 (HTM) Author: Anders Damsgaard <adc@geo.au.dk>
       Date:   Thu, 30 Aug 2012 09:18:49 +0200
       
       Fixed indentation error
       
       Diffstat:
         M python/1e4-largesize-uniaxial.py    |      10 +++++-----
       
       1 file changed, 5 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/python/1e4-largesize-uniaxial.py b/python/1e4-largesize-uniaxial.py
       t@@ -93,7 +93,7 @@ for devs in stresses:
          cons.consolidate(deviatoric_stress = devs, periodic = init.periodic)
        
          # Zero time variables and set new total time
       -  cons.initTemporal(total = 3.0, file_dt = 0.03)
       +  cons.initTemporal(total = 3.0, file_dt = 0.05)
        
          # Write output binary for sphere
          cons.writebin("../input/" + cid + ".bin")
       t@@ -105,7 +105,7 @@ for devs in stresses:
          visualize(cid, "energy", savefig=True, outformat='png')
          visualize(cid, "walls", savefig=True, outformat='png')
        
       -  # Find void ratio
       +  # Find void ratio at the end of the compressional period
          lastfile = status(cid, verbose = False)
          cons.readbin(cid)
          voidratio[i] = voidRatio()
       t@@ -130,7 +130,7 @@ try:
          fh = open(sid + "-uniaxial.txt", "w")
          for i in range(length(stresses)):
            fh.write("{0}\t{1}\n".format(stresses[i], voidratio[i]))
       -  finally:
       -    if fh is not None:
       -      fh.close()
       +finally:
       +  if fh is not None:
       +    fh.close()