Introduction
Introduction Statistics Contact Development Disclaimer Help
tonly use x-axis force component - sphere - GPU-based 3D discrete element metho…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit e23a5e8a41484599f1050870022a2218576980ab
parent 1ee72ff898cf77c89c58ee5c3805f01247d73cf4
Author: Anders Damsgaard <[email protected]>
Date: Tue, 24 Feb 2015 13:01:08 +0100
only use x-axis force component
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -5841,7 +5841,7 @@ class sim:
if self.vel[i,0] > 0.0:
force += -self.force[i,:]
- return force/(self.L[0]*self.L[1])
+ return force[0]/(self.L[0]*self.L[1])
else:
raise Exception('Shear stress type ' + type + ' not understood')
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.