trefer to self - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 81a5aa3dc0539a08375686fcda103645280d4136
DIR parent 80a2f5229424c9255a6006bdd59b0e0ac7764a61
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
DIR 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])