tsmall fix - sphere - GPU-based 3D discrete element method algorithm with optio… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 4b18f7a7031d12e356f96a9784dbf9118802d2f8 | |
parent 1731d41b617c946aa516db883c96fb8e49332355 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 5 Jun 2014 09:47:58 +0200 | |
small fix | |
Diffstat: | |
M src/navierstokes.cuh | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh | |
t@@ -2180,8 +2180,8 @@ __global__ void findPredNSvelocities( | |
const Float3 div_phi_vi_v = MAKE_FLOAT3( | |
amean(div_phi_vi_v_xn.x, div_phi_vi_v_c.x), | |
- amean(div_phi_vi_v_yn.y, div_phi_vi_v_c.y), | |
- amean(div_phi_vi_v_zn.z, div_phi_vi_v_c.z)); | |
+ amean(div_phi_vi_v_yn.x, div_phi_vi_v_c.y), | |
+ amean(div_phi_vi_v_zn.x, div_phi_vi_v_c.z)); | |
// Determine the predicted velocity | |
#ifdef SET_1 |