tdisable grid - 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 b1f745904addcb9bcaa265540014baee017ce743
 (DIR) parent 60a04e02f0ce8c180f1a5d19534cb1a381fa5c81
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue,  9 Sep 2014 10:29:05 +0200
       
       disable grid
       
       Diffstat:
         M python/consolidation-curve.py       |       2 +-
         M python/permeability-results.py      |       2 +-
         M python/shear-results.py             |       6 +++---
       
       3 files changed, 5 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/python/consolidation-curve.py b/python/consolidation-curve.py
       t@@ -93,7 +93,7 @@ plt.ylabel('Thickness change [m]')
        for c in range(len(c_grad_p_list)):
            #H[c] /= -min_H_c
            plt.semilogx(t[c], H[c], '-', label='$c$ = %.2f' % (c_grad_p_list[c]))
       -plt.grid()
       +#plt.grid()
        
        plt.legend(loc=0, prop={'size':18})
        plt.tight_layout()
 (DIR) diff --git a/python/permeability-results.py b/python/permeability-results.py
       t@@ -72,7 +72,7 @@ for c in range(len(cvals)):
            #plt.semilogx(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c]))
            #plt.semilogy(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c]))
            plt.loglog(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c]))
       -plt.grid()
       +#plt.grid()
        
        #plt.subplot(3,1,2)
        #plt.xlabel('Pressure gradient $\\Delta p/\\Delta z$ [Pa m$^{-1}$]')
 (DIR) diff --git a/python/shear-results.py b/python/shear-results.py
       t@@ -63,13 +63,13 @@ fig = plt.figure(figsize=(8,8))
        
        #plt.subplot(3,1,1)
        #plt.ticklabel_format(style='sci', axis='y', scilimits=(0,0))
       +mean_diameter = numpy.mean(sim.radius)*2.0
        
        ax1 = plt.subplot(211)
        ax2 = plt.subplot(212, sharex=ax1)
        ax1.plot(shear_strain[0], friction[0], label='dry')
        ax2.plot(shear_strain[0], dilation[0]/mean_diameter, label='dry')
        
       -mean_diameter = numpy.mean(sim.radius)*2.0
        for c in numpy.arange(1,len(cvals)+1):
            ax1.plot(shear_strain[c][1:], friction[c][1:], \
                    label='$c$ = %.2f' % (cvals[c-1]))
       t@@ -83,8 +83,8 @@ ax2.set_xlabel('Shear strain [-]')
        ax1.set_ylabel('Shear friction $\\tau/\\sigma\'$ [-]')
        ax2.set_ylabel('Dilation $\\Delta h/(2r)$ [-]')
        plt.setp(ax1.get_xticklabels(), visible=False)
       -ax1.grid()
       -ax2.grid()
       +#ax1.grid()
       +#ax2.grid()
        ax1.legend(loc='lower right', prop={'size':18})
        ax2.legend(loc='lower right', prop={'size':18})