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