Introduction
Introduction Statistics Contact Development Disclaimer Help
tSet `nw` to int during `adjustUpperWall()` - sphere - GPU-based 3D discrete el…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 6a26c98ac0803ad905ddd315980198fe20595c8c
parent 703e4399c948ec4e851e17e590d2af2d84419f38
Author: Anders Damsgaard <[email protected]>
Date: Wed, 20 Dec 2017 17:24:52 -0800
Set `nw` to int during `adjustUpperWall()`
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -2956,7 +2956,7 @@ class sim:
'''
# Initialize upper wall
- self.nw = numpy.ones(1)
+ self.nw = numpy.ones(1, dtype=numpy.int32)
self.wmode = numpy.zeros(1) # fixed BC
self.w_n = numpy.zeros(self.nw*self.nd, dtype=numpy.float64).reshape(\
self.nw[0],self.nd[0])
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.