tfix sign - 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 59bc172c17d44d1dc93d8b9279a8a3ca9d298c7c
(DIR) parent 4bec1d18160a4daf1e13f99c585a50d82431bfab
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 29 Jul 2014 14:14:25 +0200
fix sign
Diffstat:
M src/navierstokes.cuh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh
t@@ -751,7 +751,7 @@ __global__ void setNSghostNodesFace(
// x ghost nodes at x = nx and z = nz,
// equal to the ghost nodes at x = 0 and z = nz
- // Dirichlet, Neumann free slip or periodic -z
+ // Dirichlet, Neumann free slip or periodic +z
if (z == nz-1 && x == 0 && (bc_bot == 0 || bc_bot == 1 || bc_bot == 3))
dev_scalarfield_x[vidx(nx,y,nz)] = val_x;
t@@ -760,7 +760,7 @@ __global__ void setNSghostNodesFace(
// y ghost nodes at y = ny and z = nz,
// equal to the ghost nodes at y = 0 and z = nz
- // Dirichlet, Neumann free slip or periodic -z
+ // Dirichlet, Neumann free slip or periodic +z
if (z == nz-1 && y == 0 && (bc_bot == 0 || bc_bot == 1 || bc_bot == 3))
dev_scalarfield_y[vidx(x,ny,nz)] = val_y;