aboutsummaryrefslogtreecommitdiff
path: root/src/GHExtension.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GHExtension.c')
-rw-r--r--src/GHExtension.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c
index c16bc19..30b5061 100644
--- a/src/GHExtension.c
+++ b/src/GHExtension.c
@@ -15,7 +15,6 @@
#include "cctk.h"
#include "cctk_Parameters.h"
-#include "cctk_ParameterFunctions.h"
#include "CactusBase/IOUtil/src/ioGH.h"
#include "iobasicGH.h"
@@ -44,7 +43,7 @@ int IOBasic_InitGH (cGH *GH)
DECLARE_CCTK_PARAMETERS
int i;
iobasicGH *myGH;
- t_param_prop *param_prop;
+ cParamData *paramdata;
/* get the handles for IOBasic extensions */
myGH = (iobasicGH *) GH->extensions [CCTK_GHExtensionHandle ("IOBasic")];
@@ -64,8 +63,8 @@ int IOBasic_InitGH (cGH *GH)
/* Check whether "outdirScalar" was set.
If so take this dir otherwise default to "IO::outdir" */
- param_prop = CCTK_ParameterInfo ("outdirScalar", CCTK_THORNSTRING);
- if (param_prop && param_prop->n_set > 0)
+ paramdata = CCTK_ParameterData ("outdirScalar", CCTK_THORNSTRING);
+ if (paramdata && paramdata->n_set > 0)
myGH->outdirScalar = strdup (outdirScalar);
else
myGH->outdirScalar = strdup (outdir);