aboutsummaryrefslogtreecommitdiff
path: root/src/GHExtension.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GHExtension.c')
-rw-r--r--src/GHExtension.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c
index 09efeaa..5e1e27f 100644
--- a/src/GHExtension.c
+++ b/src/GHExtension.c
@@ -35,7 +35,7 @@ void *IOFlexIO_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH)
int i, numvars;
flexioGH *newGH;
- numvars = CCTK_GetNumVars ();
+ numvars = CCTK_NumVars ();
newGH = (flexioGH *) malloc (sizeof (flexioGH));
newGH->IO_2Dnum = (int *) malloc (numvars * sizeof (int));
@@ -64,13 +64,13 @@ int IOFlexIO_InitGH (cGH *GH)
flexioGH *myGH;
/* get the handles for IOUtil and IOFlexIO extensions */
- ioUtilGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")];
- myGH = (flexioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IOFlexIO")];
+ ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")];
+ myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")];
InitIONum (myGH->IO_2Dnum, output2D);
InitIONum (myGH->IO_3Dnum, output3D);
- for (i=0; i<CCTK_GetNumVars(); i++)
+ for (i=0; i<CCTK_NumVars(); i++)
myGH->IO_2Dlast [i] = myGH->IO_3Dlast [i] = -1;
myGH->reuse_fh = reuse_fh;