| tset porosity ghost nodes - sphere - GPU-based 3D discrete element method algor… | |
| git clone git://src.adamsgaard.dk/sphere | |
| Log | |
| Files | |
| Refs | |
| LICENSE | |
| --- | |
| commit 7ce8fd9b8809c9db23e0b7774a6060dcee461c6f | |
| parent f3f8a7ca3858ddfea3d16e2c20abb1b983478231 | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Tue, 31 Mar 2015 13:25:23 +0200 | |
| set porosity ghost nodes | |
| Diffstat: | |
| M src/device.cu | 11 +++++++++++ | |
| 1 file changed, 11 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/src/device.cu b/src/device.cu | |
| t@@ -1950,6 +1950,17 @@ __host__ void DEM::startTime() | |
| if (PROFILING == 1) | |
| startTimer(&kernel_tic); | |
| setDarcyGhostNodes<Float><<<dimGridFluid, dimBlockFluid>>>( | |
| + dev_darcy_phi, darcy.bc_bot, darcy.bc_top); | |
| + cudaThreadSynchronize(); | |
| + if (PROFILING == 1) | |
| + stopTimer(&kernel_tic, &kernel_toc, &kernel_elapsed, | |
| + &t_setDarcyGhostNodes); | |
| + checkForCudaErrorsIter( | |
| + "Post setDarcyGhostNodes(dev_darcy_phi)", iter); | |
| + | |
| + if (PROFILING == 1) | |
| + startTimer(&kernel_tic); | |
| + setDarcyGhostNodes<Float><<<dimGridFluid, dimBlockFluid>>>( | |
| dev_darcy_k, darcy.bc_bot, darcy.bc_top); | |
| cudaThreadSynchronize(); | |
| if (PROFILING == 1) |