tfix function reference - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit f0459aec942c8b6de50bd358ce0dc1e5b588e4c4
(DIR) parent fa19daa9878b41a8e6cf6dc0c101d565cefed309
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 20 Jun 2014 11:29:33 +0200
fix function reference
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -2703,7 +2703,7 @@ class sim:
'''
esum = 0.0
for i in range(self.np):
- esum += kineticEnergy(i)
+ esum += self.kineticEnergy(i)
return esum
def energy(self, method):