tonly plot zflow if fluid=True - 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 ba274ff9e96161258f1aa4524c45ee862a98f3fe
(DIR) parent d0e69686437ba011df73815df9dc01116d58b7f1
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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, alpha=0.5)
- 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, alpha=0.5)