diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-09-21 13:25:26 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-09-21 13:25:26 +0000 |
commit | 7114a790a7a4ab16decbb344656c93f41fae18b6 (patch) | |
tree | 184300c6b119f4fa5bae5032bb287e753e312974 | |
parent | 1f845ebebfa2c166a24f84a1aa3d2823a759ac9c (diff) |
Removed ioGH.h from include list.
Removed unneccessary parameter parsing at STARTUP.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@68 b589c3ab-70e8-4b4d-a09f-cba2dd200880
-rw-r--r-- | src/GHExtension.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c index a2a3ff2..eb519f6 100644 --- a/src/GHExtension.c +++ b/src/GHExtension.c @@ -15,7 +15,6 @@ #include "cctk.h" #include "cctk_Parameters.h" -#include "CactusBase/IOUtil/src/ioGH.h" #include "iobasicGH.h" @@ -46,7 +45,7 @@ int IOBasic_InitGH (cGH *GH) DECLARE_CCTK_PARAMETERS int i; iobasicGH *myGH; - const cParamData *paramdata; + /* get the handles for IOBasic extensions */ myGH = (iobasicGH *) GH->extensions [CCTK_GHExtensionHandle ("IOBasic")]; @@ -61,13 +60,9 @@ int IOBasic_InitGH (cGH *GH) if (outScalar_every > 0) myGH->outScalar_every = outScalar_every; - IOUtil_ParseVarsForOutput (outInfo_vars, myGH->do_outInfo); - IOUtil_ParseVarsForOutput (outScalar_vars, myGH->do_outScalar); - /* Check whether "outdirScalar" was set. If so take this dir otherwise default to "IO::outdir" */ - paramdata = CCTK_ParameterData ("outdirScalar", CCTK_THORNSTRING); - if (paramdata && paramdata->n_set > 0) + if (CCTK_ParameterQueryTimesSet ("outdirScalar", CCTK_THORNSTRING) > 0) { myGH->outdirScalar = strdup (outdirScalar); } |