tadded forgotten cudaFree calls to darcy arrays - 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 5522a23730aa7f8900d1f12626545a65d0ae3493
 (DIR) parent e8349adf5fdea29e043c8951088378de93ad5c71
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Mon, 21 Oct 2013 14:38:30 +0200
       
       added forgotten cudaFree calls to darcy arrays
       
       Diffstat:
         M src/device.cu                       |      13 +++++++++++++
       
       1 file changed, 13 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/device.cu b/src/device.cu
       t@@ -374,6 +374,19 @@ __host__ void DEM::freeGlobalDeviceMemory()
            cudaFree(dev_v_rho);
        #endif
        
       +#ifdef DARCY_GPU
       +    cudaFree(dev_d_H);
       +    cudaFree(dev_d_H_new);
       +    cudaFree(dev_d_V);
       +    cudaFree(dev_d_dH);
       +    cudaFree(dev_d_K);
       +    cudaFree(dev_d_T);
       +    cudaFree(dev_d_Ss);
       +    cudaFree(dev_d_W);
       +    cudaFree(dev_d_phi);
       +#endif
       +
       +
            checkForCudaErrors("During cudaFree calls");
        
            if (verbose == 1)