trefer to self - sphere - GPU-based 3D discrete element method algorithm with o… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 81a5aa3dc0539a08375686fcda103645280d4136 | |
parent 80a2f5229424c9255a6006bdd59b0e0ac7764a61 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 17 Feb 2015 12:32:16 +0100 | |
refer to self | |
Diffstat: | |
M python/sphere.py | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -5466,8 +5466,8 @@ class sim: | |
# Summation of shear stress contributions | |
for i in fixvel[0]: | |
- if (sb.vel[i,0] > 0.0): | |
- force += -sb.force[i,:] | |
+ if (self.vel[i,0] > 0.0): | |
+ force += -self.force[i,:] | |
return force/(sim.L[0]*sim.L[1]) | |