tupdate label conditional - sphere - GPU-based 3D discrete element method algor… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit c456eb21a7529669276d50f4a9dceff9b13b405e | |
parent be8b27cd34e042987b05a57e1e4e4d55535acc99 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 23 Jan 2015 09:44:36 +0100 | |
update label conditional | |
Diffstat: | |
M python/sphere.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -6069,7 +6069,7 @@ class sim: | |
ax.set_ylim([zpos_c[0], sb.w_x[0]]) | |
else: | |
ax.set_ylim([zpos_c[0], zpos_c[-1]]) | |
- if numpy.abs(self.p_mod_A) > 1.0e-3: | |
+ if self.wmode[0] == 3: | |
ax.set_xlabel('Time $t$ [s]') | |
else: | |
ax.set_xlabel('Shear strain $\\gamma$ [-]') |