tfix function reference - sphere - GPU-based 3D discrete element method algorit… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f0459aec942c8b6de50bd358ce0dc1e5b588e4c4 | |
parent fa19daa9878b41a8e6cf6dc0c101d565cefed309 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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): |