diff options
author | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2002-08-20 15:42:07 +0000 |
---|---|---|
committer | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2002-08-20 15:42:07 +0000 |
commit | ccf922c9ec1280860724d1b09dcf74d340621e98 (patch) | |
tree | ccb39756ae081b266662159ab059edc7452bc021 | |
parent | 9bc809a39299b30674e540278e554e799e809c6b (diff) |
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
-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 */ |