tincrementally update current time - 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 53df2d7b9aab44cce0194a06a4f1f738f94500ec
(DIR) parent cff7234712d919915b2ae17c348ee725564575c8
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 7 May 2014 10:06:29 +0200
incrementally update current time
Diffstat:
M src/device.cu | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/device.cu b/src/device.cu
t@@ -1446,7 +1446,8 @@ __host__ void DEM::startTime()
}
// Update timers and counters
- time.current = iter*time.dt;
+ //time.current = iter*time.dt;
+ time.current += time.dt;
filetimeclock += time.dt;
++iter;