Introduction
Introduction Statistics Contact Development Disclaimer Help
tRemove timestamp in output file naming - cngf-pf - continuum model for granula…
git clone git://src.adamsgaard.dk/cngf-pf
Log
Files
Refs
README
LICENSE
---
commit f7f2c499c745401d7c209406a8f035c8451e5c7e
parent fc73c7536cdc9f424ca75008d363afbe0e99e120
Author: Anders Damsgaard <[email protected]>
Date: Thu, 16 Apr 2020 17:40:29 +0200
Remove timestamp in output file naming
Diffstat:
M simulation.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/simulation.c b/simulation.c
t@@ -693,8 +693,8 @@ write_output_file(struct simulation *sim, const int normal…
char outfile[200];
FILE *fp;
- snprintf(outfile, sizeof(outfile), "%s.output%05d.t=%gs.txt",
- sim->name, sim->n_file++, sim->t);
+ snprintf(outfile, sizeof(outfile), "%s.output%05d.txt",
+ sim->name, sim->n_file++);
if ((fp = fopen(outfile, "w")) != NULL) {
print_output(sim, fp, normalize);
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.