trename output - sphere - GPU-based 3D discrete element method algorithm with o… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit eda5694d178af3294565f4212d610e8e05ede618 | |
parent f732e115154926e86d07e575a591397bc59b40c6 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 6 Jun 2014 13:31:29 +0200 | |
rename output | |
Diffstat: | |
M src/navierstokes.cuh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh | |
t@@ -3081,7 +3081,7 @@ __global__ void applyInteractionForceToFluid( | |
__syncthreads(); | |
#ifdef CHECK_NS_FINITE | |
- checkFiniteFloat3("fi", x, y, z, fi/(dx*dy*dz)); | |
+ checkFiniteFloat3("F_pf", x, y, z, F_pf); | |
#endif | |
//printf("F_pf [%d,%d,%d] = %f,%f,%f\n", x,y,z, F_pf.x, F_pf.y, F_pf.z… | |
dev_ns_F_pf[cellidx] = F_pf; |