tonly plot zflow if fluid=True - sphere - GPU-based 3D discrete element method … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit ba274ff9e96161258f1aa4524c45ee862a98f3fe | |
parent d0e69686437ba011df73815df9dc01116d58b7f1 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 27 Oct 2014 11:14:17 +0100 | |
only plot zflow if fluid=True | |
Diffstat: | |
M python/shear-results-velfac.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/shear-results-velfac.py b/python/shear-results-velfac.py | |
t@@ -210,7 +210,7 @@ for c in numpy.arange(len(velfacvals)): | |
ax2.plot(shear_strain[c][1:], dilation[c][1:], \ | |
label='$\\dot{\\gamma}$ = %.2f' % (velfacvals[c]), linewidth=1, al… | |
- if zflow: | |
+ if zflow and fluid: | |
ax3.plot(shear_strain[c][1:], v_f_z_mean[c][1:], | |
label='$\\dot{\\gamma}$ = %.2f' % (velfacvals[c]), linewidth=1, al… | |