toutput old velocities - 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 638eff0cb9e3f20a3b9888b99ed7656ac7aaee19
 (DIR) parent ff67b9fd391caf9576d5c437bb92a14d914d63bd
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       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(-)
       ---
 (DIR) 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,