diff options
-rw-r--r-- | param.ccl | 4 | ||||
-rw-r--r-- | src/Output.c | 4 | ||||
-rw-r--r-- | src/Startup.c | 4 |
3 files changed, 4 insertions, 8 deletions
@@ -78,8 +78,8 @@ BOOLEAN checkpoint_next "Checkpoint at next iteration" STEERABLE = ALWAYS ############################################################################# shares: IO -# FIXME: want USES STRING out_dir AS default_out_dir -# FIXME: want USES INT out_every AS default_out_every +USES STRING out_dir AS io_out_dir +USES INT out_every AS io_out_every USES KEYWORD verbose USES BOOLEAN print_timing_info diff --git a/src/Output.c b/src/Output.c index fb0f0d9..d43d478 100644 --- a/src/Output.c +++ b/src/Output.c @@ -311,9 +311,7 @@ static void CheckSteerableParameters (const cGH *GH) } else { - myGH->out_every = *(const CCTK_INT *) - CCTK_ParameterGet ("out_every", - CCTK_ImplementationThorn ("IO"), NULL); + myGH->out_every = io_out_every; } /* re-parse the 'IOHDF5::out_vars' parameter if it was changed */ diff --git a/src/Startup.c b/src/Startup.c index 15b7049..8913942 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -137,9 +137,7 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH) /* get the name of IOHDF5's output directory */ if (*out_dir == 0) { - out_dir = *(const char **) - CCTK_ParameterGet ("out_dir", CCTK_ImplementationThorn ("IO"), - NULL); + out_dir = io_out_dir; } /* skip the directory pathname if output goes into current directory */ |