tfix device selection - sphere - GPU-based 3D discrete element method algorithm… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 3667c4e32e951a6ae4520a88ebbe52f161b51102 | |
parent 182d6f9f66b700a9ebc1303d73bf86dfc0bd14af | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 21 Aug 2014 12:43:09 +0200 | |
fix device selection | |
Diffstat: | |
M python/diffusivity-starter.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/diffusivity-starter.py b/python/diffusivity-starter.py | |
t@@ -55,7 +55,7 @@ for sigma0_str in sys.argv[4:]: | |
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') |