tfile write criteria changed - 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 2852470952efcc1bb736355aa292487cfab8871b
(DIR) parent 4324e1882e6d7b28e495016df823e4e9130f2d75
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Thu, 13 Jun 2013 12:45:48 +0200
file write criteria changed
Diffstat:
M src/device.cu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/device.cu b/src/device.cu
t@@ -957,7 +957,7 @@ __host__ void DEM::startTime()
// Produce output binary if the time interval
// between output files has been reached
- if (filetimeclock > time.file_dt) {
+ if (filetimeclock >= time.file_dt) {
// Pause the CPU thread until all CUDA calls previously issued are completed
cudaThreadSynchronize();