tupdated time view to include total time - sphere - GPU-based 3D discrete eleme… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 1394d910c130b8622261cc947738b63dd5481dfb | |
parent 92f95039f27a4c8f7b85c75e8bb8f5424845b183 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 22 Aug 2013 15:16:19 +0200 | |
updated time view to include total 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@@ -953,7 +953,8 @@ __host__ void DEM::startTime() | |
// Report time to console | |
if (verbose == 1 && (iter % stdout_report == 0)) { | |
cout << "\r Current simulation time: " | |
- << time.current << " s. ";// << std::flush; | |
+ << time.current << "/" | |
+ << time.total << " s. "; // << std::flush; | |
} | |