trefer to previously read object - 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 554da5b1d9239305348444d2515eb8950f1858d7
(DIR) parent 2df5bb451a6f7865308c0fe9358edda334c700a9
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 27 Jan 2015 12:11:04 +0100
refer to previously read object
Diffstat:
M python/sphere.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -5958,7 +5958,7 @@ class sim:
ax3.set_ylabel('Stress [kPa]')
#ax3.legend(loc='upper left')
else:
- ax3.plot(time, self.tau_eff/self.w_sigma0[0],
+ ax3.plot(time, self.tau_eff/sb.w_sigma0[0],
'-k', label="$Shear friction$")
ax3.plot([0, time[-1]],
[self.w_tau_x/self.sigma_def,
t@@ -5966,8 +5966,8 @@ class sim:
'--k', label="$Applied shear friction$")
ax3.set_ylabel('Shear friction $\\tau\'/\\sigma_0$ [-]')
# axis limits
- ax3.set_ylim([self.w_tau_x/self.sigma_def[0]*0.5,
- self.w_tau_x/self.sigma_def[0]*1.5])
+ ax3.set_ylim([self.w_tau_x/sb.sigma_def[0]*0.5,
+ self.w_tau_x/sb.sigma_def[0]*1.5])
if self.fluid: