toutput old velocities - sphere - GPU-based 3D discrete element method algorith… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 638eff0cb9e3f20a3b9888b99ed7656ac7aaee19 | |
parent ff67b9fd391caf9576d5c437bb92a14d914d63bd | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 22 Oct 2014 11:06:26 +0200 | |
output old velocities | |
Diffstat: | |
M src/navierstokes.cuh | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh | |
t@@ -2453,6 +2453,7 @@ __global__ void findPredNSvelocities( | |
// Report velocity components to stdout for debugging | |
printf("\n[%d,%d,%d]" | |
"\tv_p = %+e %+e %+e\n" | |
+ "\tv_old = %+e %+e %+e\n" | |
"\tpres = %+e %+e %+e\n" | |
"\tinteract = %+e %+e %+e\n" | |
"\tdiff = %+e %+e %+e\n" | |
t@@ -2460,6 +2461,7 @@ __global__ void findPredNSvelocities( | |
"\tporos = %+e %+e %+e\n" | |
"\tadv = %+e %+e %+e\n", | |
x, y, z, | |
+ v.x, v.y, v.z, | |
v_p.x, v_p.y, v_p.z, | |
pressure_term.x, pressure_term.y, pressure_term.z, | |
interaction_term.x, interaction_term.y, interaction_term.z, |