ttypo in timestep formula - sphere - GPU-based 3D discrete element method algor… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit d9bcb826a7b9d4cbf74c8b0afc00bcd89829e23f | |
parent bc4a7d56a928f043cd7525327b6573b8edf0a586 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 19 Jun 2014 14:43:00 +0200 | |
ttypo in timestep formula | |
Diffstat: | |
M python/sphere.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -2347,7 +2347,7 @@ class sim: | |
# Radjaii et al 2011 | |
m_min = self.rho * 4.0/3.0*numpy.pi*r_min**3 | |
- k_max = numpy.max([self.k_n[:], self.k_t[:]])) | |
+ k_max = numpy.max([self.k_n[:], self.k_t[:]]) | |
self.time_dt[0] = epsilon/(numpy.sqrt(k_max/m_min)) | |
# Zhang and Campbell, 1992 |