Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix self reference - sphere - GPU-based 3D discrete element method algorithm w…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit df6ae0a224ab005821c2c6e95a35430975018268
parent fb42b7f7543b15269762f52992d036dd086c4ae4
Author: Anders Damsgaard <[email protected]>
Date: Mon, 22 Sep 2014 21:26:50 +0200
fix self reference
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -2406,7 +2406,7 @@ class sim:
# Set top wall to a certain mass corresponding to the selected normal
# stress
#self.w_devs = numpy.zeros(1)
- self.w_m[0] = numpy.abs(normal_stress*sim.L[0]*sim.L[1]/sim.g[2])
+ self.w_m[0] = numpy.abs(normal_stress*self.L[0]*self.L[1]/self.g[2])
def uniaxialStrainRate(self, wvel = -0.001):
'''
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.