tDo not write current time to output file name - cngf-pf - continuum model for … | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8d198db9fbebc9d453932f009c71f2ba8ed4a81a | |
parent 1157d4b10b28dcb5291206da4dbab7a410f1fd10 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 16 Apr 2019 17:25:45 +0200 | |
Do not write current time to output file name | |
Diffstat: | |
M simulation.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/simulation.c b/simulation.c | |
t@@ -397,8 +397,7 @@ void write_output_file(struct simulation* sim) | |
char outfile[200]; | |
FILE *fp; | |
- sprintf(outfile, "%s.output%05d.t=%gs.txt", | |
- sim->name, sim->n_file++, sim->t); | |
+ sprintf(outfile, "%s.output%05d.txt", sim->name, sim->n_file++); | |
fp = fopen(outfile, "w"); | |
if (sim->fluid) |