diff options
Diffstat (limited to 'src/Output2D.c')
-rw-r--r-- | src/Output2D.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Output2D.c b/src/Output2D.c index b79b8c7..c380a2e 100644 --- a/src/Output2D.c +++ b/src/Output2D.c @@ -21,7 +21,6 @@ #include "GHExtensions.h" #include "WarnLevel.h" #include "Comm.h" -#include "CactusBase/IOUtil/src/ioGH.h" #include "ioFlexGH.h" @@ -186,16 +185,14 @@ int IOFlexIO_Output2DVarAs (cGH *GH, const char *fullname, const char *alias) int IOFlexIO_TimeFor2D (cGH *GH, int index) { - ioGH *ioUtilGH; flexioGH *myGH; /* Get the GH extension for IOUtil and IOFlexIO */ - ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")]; /* Check this GF should be output */ if (! (CCTK_GroupTypeFromVarI (index) == GROUP_GF && myGH->IO_2Dnum [index] != 0 - && GH->cctk_iteration % ioUtilGH->IO_2Devery == 0)) + && GH->cctk_iteration % myGH->IO_2Devery == 0)) return (0); /* Check GF not already output this iteration */ |