tsmall format change - 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 8d5963774232456862fe568b1546fa68a0723067
(DIR) parent 269dbb395e45f4f7b81306261dcecb62cb7fc79d
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 9 May 2014 10:37:59 +0200
small format change
Diffstat:
M src/sphere_status.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/sphere_status.c b/src/sphere_status.c
t@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
sprintf(outstring, "%-45s ", ent->d_name);
for (p = outstring; *p != '\0'; p++)
if (*p == ' ') *p = '.';
- printf(" %s ", outstring);
+ printf(" %s", outstring);
(void)open_status_file(cwd, ent->d_name, 1);
puts("");
t@@ -95,7 +95,7 @@ int open_status_file(char* cwd, char* sim_name, int format) {
}
if (format == 1) {
- printf("%5.2fs / %3.0f%% / %5d",
+ printf("%6.2fs / %3.0f%% / %5d",
time_current, time_percentage, file_nr);
} else {
printf("Reading %s:\n"