diff options
-rw-r--r-- | src/IsoSurfacerInit.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/IsoSurfacerInit.c b/src/IsoSurfacerInit.c index c12e072..97bd915 100644 --- a/src/IsoSurfacerInit.c +++ b/src/IsoSurfacerInit.c @@ -51,8 +51,8 @@ int IsoSurfacer_InitGH (cGH *GH){ DECLARE_CCTK_PARAMETERS /* The above string declares the following parameters - char *output_format - int output_frequency + char *out_format + int out_every int output_start int outer_boundary_cutoff char *outdir @@ -91,12 +91,12 @@ int IsoSurfacer_InitGH (cGH *GH){ free(fullname); } - if(strstr(output_format,"UCD")) myGH->formats|=UCD; - if(strstr(output_format,"ASCII")) myGH->formats|=ASCII; - if(strstr(output_format,"BIN")) myGH->formats|=BIN; - if(strstr(output_format,"SOCK")) myGH->formats|=SOCK; - if(strstr(output_format,"HDF5")) myGH->formats|=ISOHDF5; - if(strstr(output_format,"VRML")) myGH->formats|=VRML; + if(strstr(out_format,"UCD")) myGH->formats|=UCD; + if(strstr(out_format,"ASCII")) myGH->formats|=ASCII; + if(strstr(out_format,"BIN")) myGH->formats|=BIN; + if(strstr(out_format,"SOCK")) myGH->formats|=SOCK; + if(strstr(out_format,"HDF5")) myGH->formats|=ISOHDF5; + if(strstr(out_format,"VRML")) myGH->formats|=VRML; /* OK, now we test to see if the 'isosurfacer' string overrides everything set up by the new params */ |