diff options
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c index 9861f3e..7443f41 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -252,6 +252,10 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH) myGH->out_last = malloc (numvars * sizeof (int)); myGH->out2D_last = malloc (numvars * sizeof (int)); + myGH->cp_fileindex = 0; + myGH->checkpoint_keep = abs (checkpoint_keep); + myGH->cp_filenames = calloc (myGH->checkpoint_keep, sizeof (char *)); + myGH->out_vars = strdup (""); myGH->out_every_default = out_every - 1; myGH->out2D_vars = strdup (""); |