From ccf922c9ec1280860724d1b09dcf74d340621e98 Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 20 Aug 2002 15:42:07 +0000 Subject: Evaluate the new parameters, not the old ones. Otherwise you won't see very much with just the new parameters. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@66 bfcf8e34-485d-4d46-a995-1fd6fa6fb178 --- src/IsoSurfacerInit.c | 16 ++++++++-------- 1 file 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 */ -- cgit v1.2.3