tupdated time view to include total time - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 1394d910c130b8622261cc947738b63dd5481dfb
DIR parent 92f95039f27a4c8f7b85c75e8bb8f5424845b183
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
DIR 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;
}