aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 4d1cb19..185e2a0 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -122,15 +122,18 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH)
CCTK_RegisterIOMethodTimeToOutput (i, IOJpeg_TimeFor);
CCTK_RegisterIOMethodTriggerOutput (i, IOJpeg_TriggerOutput);
+ myGH->stop_on_parse_errors = strict_io_parameter_check;
if (! CCTK_Equals (verbose, "none"))
{
- CCTK_INFO ("I/O Method 'IOJpeg' registered");
- CCTK_INFO ("IOJpeg: Output of 2D jpeg images of grid functions/arrays");
+ CCTK_INFO ("I/O Method 'IOJpeg' registered: output of 2D jpeg images of "
+ "grid functions/arrays");
}
+ IOJpeg_CheckSteerableParameters (myGH);
+ myGH->stop_on_parse_errors = 0;
numvars = CCTK_NumVars ();
- myGH->out_every = (CCTK_INT *) malloc (numvars * sizeof (CCTK_INT));
- myGH->out_last = (int *) malloc (numvars * sizeof (int));
+ myGH->out_every = malloc (numvars * sizeof (CCTK_INT));
+ myGH->out_last = malloc (numvars * sizeof (int));
for (i = 0; i < numvars; i++)
{