tfile write criteria changed - sphere - GPU-based 3D discrete element method al… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 2852470952efcc1bb736355aa292487cfab8871b | |
parent 4324e1882e6d7b28e495016df823e4e9130f2d75 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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… | |
cudaThreadSynchronize(); |