tmove legend, add permeability results when c=1 - 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 990601b3df881c861d8a5a9b6d3312fa75629474
 (DIR) parent d4f6455761d117ba52c2f7393e0a40b76ba5e63a
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Fri, 29 Aug 2014 10:42:14 +0200
       
       move legend, add permeability results when c=1
       
       Diffstat:
         M python/consolidation-curve.py       |       7 ++++---
         M python/permeability-results.py      |       9 ++++++---
       
       2 files changed, 10 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/python/consolidation-curve.py b/python/consolidation-curve.py
       t@@ -10,13 +10,14 @@ import matplotlib.pyplot as plt
        
        c_phi = 1.0
        #c_grad_p_list = [1.0, 0.1, 0.01, 0.001]
       -c_grad_p_list = [1.0, 0.1, 0.01]
       +#c_grad_p_list = [1.0, 0.1, 0.01]
       +c_grad_p_list = [1.0, 0.1]
        #c_grad_p_list = [1.0]
        sigma0 = 10.0e3
        #sigma0 = 5.0e3
        
       -t = [[], [], []]
       -H = [[], [], []]
       +t = [[], []]
       +H = [[], []]
        #t = [[], [], [], []]
        #H = [[], [], [], []]
        
 (DIR) diff --git a/python/permeability-results.py b/python/permeability-results.py
       t@@ -24,8 +24,11 @@ for c_grad_p in cvals:
        
            sids = []
            for dp in dp_list:
       -        sids.append('permeability-dp=' + str(dp) + '-c_phi=' + \
       -                str(c_phi) + '-c_grad_p=' + str(c_grad_p))
       +        if c_grad_p == 1.0:
       +            sids.append('permeability-dp=' + str(dp))
       +        else:
       +            sids.append('permeability-dp=' + str(dp) + '-c_phi=' + \
       +                    str(c_phi) + '-c_grad_p=' + str(c_grad_p))
        
            K[c] = numpy.zeros(len(sids))
            dpdz[c] = numpy.zeros_like(K[c])
       t@@ -79,7 +82,7 @@ plt.grid()
        #plt.plot(dpdz, phi_bar, '+')
        #plt.grid()
        
       -plt.legend()
       +plt.legend(loc='lower left')
        plt.tight_layout()
        filename = 'permeability-dpdz-vs-K-vs-c.pdf'
        print(os.getcwd() + '/' + filename)