aboutsummaryrefslogtreecommitdiff
path: root/src/Output3D.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/Output3D.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/Output3D.c')
-rw-r--r--src/Output3D.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Output3D.c b/src/Output3D.c
index 64f0b1a..404f0e6 100644
--- a/src/Output3D.c
+++ b/src/Output3D.c
@@ -83,7 +83,7 @@ int IOFlexIO_Output3DGH (cGH *GH)
myGH->IO_3Dnum [i]++;
/* Register GF as having 3D output this iteration */
- myGH->IO_3Dlast [i] = GH->iteration;
+ myGH->IO_3Dlast [i] = GH->cctk_iteration;
}
}
@@ -196,11 +196,11 @@ int IOFlexIO_TimeFor3D (cGH *GH, int index)
/* Check this GF should be output */
if (! (myGH->IO_3Dnum [index] != 0 &&
- GH->iteration % ioUtilGH->IO_3Devery == 0))
+ GH->cctk_iteration % ioUtilGH->IO_3Devery == 0))
return (0);
/* Check GF not already output this iteration */
- if (myGH->IO_3Dlast [index] == GH->iteration) {
+ if (myGH->IO_3Dlast [index] == GH->cctk_iteration) {
CCTK_WARN (2, "Already done 3D output in IOFlexIO");
return (0);
}
@@ -279,7 +279,7 @@ int IOFlexIO_TriggerOutput3D (cGH *GH, int index)
myGH->IO_3Dnum [index]++;
/* Register GF as having 3D output this iteration */
- myGH->IO_3Dlast [index] = GH->iteration;
+ myGH->IO_3Dlast [index] = GH->cctk_iteration;
return (0);
}