Introduction
Introduction Statistics Contact Development Disclaimer Help
tincrementally update current time - sphere - GPU-based 3D discrete element met…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 53df2d7b9aab44cce0194a06a4f1f738f94500ec
parent cff7234712d919915b2ae17c348ee725564575c8
Author: Anders Damsgaard <[email protected]>
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(-)
---
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;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.