tfix typo - sphere - GPU-based 3D discrete element method algorithm with option… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 857ff6042c19f5d38e5601c9f6751f5e3152766c | |
parent c2fbc76fd859097a117a2743bc56c7bc4fbff74d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 1 Sep 2014 11:02:16 +0200 | |
fix typo | |
Diffstat: | |
M python/capillary-cohesion2.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/capillary-cohesion2.py b/python/capillary-cohesion2.py | |
t@@ -26,7 +26,7 @@ cube.adjustUpperWall(z_adjust=1.0) | |
# shrink particles to new mean radius and resize domain | |
r_mean = 0.001 | |
r_mean_old = numpy.mean(cube.radius) | |
-scale_fractor = r_mean/r_mean_old | |
+scale_factor = r_mean/r_mean_old | |
cube.radius *= scale_factor | |
cube.L *= scale_factor | |