tfix device selection - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 3667c4e32e951a6ae4520a88ebbe52f161b51102
(DIR) parent 182d6f9f66b700a9ebc1303d73bf86dfc0bd14af
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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')