aboutsummaryrefslogtreecommitdiff
path: root/src/Output2D.c
diff options
context:
space:
mode:
authorallen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-06-25 17:05:18 +0000
committerallen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-06-25 17:05:18 +0000
commitad6eb67f8ab76a222cbee4af0cafe15d78804d46 (patch)
treec2bd0e2ad682f34f3230d1f7f1f6b0abaf14a036 /src/Output2D.c
parentde89a5c6b08b5ad9eb7044dc8b2c04a965b19982 (diff)
Implementing new naming convention for variables on the cGH. See cGH.h for
details. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@4 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output2D.c')
-rw-r--r--src/Output2D.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Output2D.c b/src/Output2D.c
index 23b1298..f863970 100644
--- a/src/Output2D.c
+++ b/src/Output2D.c
@@ -80,7 +80,7 @@ int IOFlexIO_Output2DGH (cGH *GH)
myGH->IO_2Dnum[i]++;
/* Register GF as having 2D output this iteration */
- myGH->IO_2Dlast[i] = GH->iteration;
+ myGH->IO_2Dlast[i] = GH->cctk_iteration;
}
}
@@ -194,11 +194,11 @@ int IOFlexIO_TimeFor2D (cGH *GH, int index)
/* Check this GF should be output */
if (! (CCTK_GetVarGType (index) == GROUP_GF && myGH->IO_2Dnum [index] != 0
- && GH->iteration % ioUtilGH->IO_2Devery == 0))
+ && GH->cctk_iteration % ioUtilGH->IO_2Devery == 0))
return (0);
/* Check GF not already output this iteration */
- if (myGH->IO_2Dlast [index] == GH->iteration) {
+ if (myGH->IO_2Dlast [index] == GH->cctk_iteration) {
CCTK_WARN (2, "Already done 2D output in IOFlexIO");
return (0);
}
@@ -277,7 +277,7 @@ int IOFlexIO_TriggerOutput2D (cGH *GH, int index)
myGH->IO_2Dnum [index]++;
/* Register GF as having 2D output this iteration */
- myGH->IO_2Dlast [index] = GH->iteration;
+ myGH->IO_2Dlast [index] = GH->cctk_iteration;
return (0);
}