tdilation values already normalized in sphere.py - sphere - GPU-based 3D discre… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 706fc3fb24d845586bfa927a29c6a62de8cb80cf | |
parent 5c081582abaaa63f62a8a33f082313c438d27a97 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 9 Sep 2014 10:34:57 +0200 | |
dilation values already normalized in sphere.py | |
Diffstat: | |
M python/shear-results.py | 5 ++--- | |
1 file changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/python/shear-results.py b/python/shear-results.py | |
t@@ -63,17 +63,16 @@ 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') | |
+ax2.plot(shear_strain[0], dilation[0], label='dry') | |
for c in numpy.arange(1,len(cvals)+1): | |
ax1.plot(shear_strain[c][1:], friction[c][1:], \ | |
label='$c$ = %.2f' % (cvals[c-1])) | |
- ax2.plot(shear_strain[c][1:], dilation[c][1:]/mean_diameter, \ | |
+ ax2.plot(shear_strain[c][1:], dilation[c][1:], \ | |
label='$c$ = %.2f' % (cvals[c-1])) | |
#plt.plot(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c])) | |
#plt.semilogx(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c])) |