tfix device selection - sphere - GPU-based 3D discrete element method algorithm… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit c4d1459f3e3b3c23b2492423d4897316fd4d361b | |
parent 3667c4e32e951a6ae4520a88ebbe52f161b51102 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 21 Aug 2014 12:44:45 +0200 | |
fix device selection | |
Diffstat: | |
M python/diffusivity-test.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/diffusivity-test.py b/python/diffusivity-test.py | |
t@@ -72,7 +72,7 @@ for sigma0 in sigma0_list: | |
sim.fixvel[I] = 1 | |
sim.run(dry=True) | |
- sim.run(device=0) | |
+ sim.run(device=device) | |
#sim.writeVTKall() | |
sim.visualize('walls') | |
sim.visualize('fluid-pressure') |