tseveral bugfixes in shear visualization - sphere - GPU-based 3D discrete eleme… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5d5529c47876d8318da6410836d06f9a35def036 | |
parent f71c86b462fb455512c234b9c35c052cd2b1e77d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 8 Sep 2014 10:27:52 +0200 | |
several bugfixes in shear visualization | |
Diffstat: | |
M python/sphere.py | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -4971,11 +4971,11 @@ class sim: | |
# Test if this was the max. shear stress | |
if (self.tau[i] > self.tau_u): | |
- self.tau_u = tau[i] | |
- self.tau_u_shearstrain = xdisp[i]/w_x0 | |
+ self.tau_u = self.tau[i] | |
+ self.tau_u_shearstrain = self.xdisp[i]/w_x0 | |
- self.shear_strain = self.xdisp/self.w_x0 | |
+ self.shear_strain = self.xdisp/w_x0 | |
# Plot stresses | |
if (outformat != 'txt'): |