diff options
-rw-r--r-- | src/Startup.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Startup.c b/src/Startup.c index 185e2a0..cd5f56a 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -122,15 +122,6 @@ 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: output of 2D jpeg images of " - "grid functions/arrays"); - } - IOJpeg_CheckSteerableParameters (myGH); - myGH->stop_on_parse_errors = 0; - numvars = CCTK_NumVars (); myGH->out_every = malloc (numvars * sizeof (CCTK_INT)); myGH->out_last = malloc (numvars * sizeof (int)); @@ -171,5 +162,14 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH) myGH->out_dir); } + myGH->stop_on_parse_errors = strict_io_parameter_check; + if (! CCTK_Equals (verbose, "none")) + { + 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; + return (myGH); } |