aboutsummaryrefslogtreecommitdiff
path: root/src/Output3D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output3D.c')
-rw-r--r--src/Output3D.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Output3D.c b/src/Output3D.c
index 8fc6265..7fafa35 100644
--- a/src/Output3D.c
+++ b/src/Output3D.c
@@ -22,7 +22,6 @@
#include "GHExtensions.h"
#include "WarnLevel.h"
#include "Comm.h"
-#include "CactusBase/IOUtil/src/ioGH.h"
#include "ioFlexGH.h"
int IOFlexIO_Output3DVarAs (cGH *GH, const char *var, const char *alias);
@@ -189,16 +188,14 @@ int IOFlexIO_Output3DVarAs (cGH *GH, const char *fullname, const char *alias)
int IOFlexIO_TimeFor3D (cGH *GH, int index)
{
- ioGH *ioUtilGH;
flexioGH *myGH;
- /* Get the GH extension for IOUtil and IOFlexIO */
- ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")];
+ /* Get the GH extension for IOFlexIO */
myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")];
/* Check this GF should be output */
if (! (myGH->IO_3Dnum [index] != 0 &&
- GH->cctk_iteration % ioUtilGH->IO_3Devery == 0))
+ GH->cctk_iteration % myGH->IO_3Devery == 0))
return (0);
/* Check GF not already output this iteration */