aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-06-27 12:11:34 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-06-27 12:11:34 +0000
commitff4d81c3a464af73675a0dfc5221ad4f3818e6a3 (patch)
tree6547d6d4fd83d127e56127b9c500c9cda5d8a0ab
parent00522a5c330b1088071f8143e8bf5cb1e18f705e (diff)
Using the SetMainLoopIndex() and MainLoopIndex() from CCTK because PUGH's
are gone. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@132 ebee0441-1374-4afa-a3b5-247f3ba15b9a
-rw-r--r--src/DumpGH.c4
-rw-r--r--src/RecoverGH.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/DumpGH.c b/src/DumpGH.c
index a8000c8..eafd38a 100644
--- a/src/DumpGH.c
+++ b/src/DumpGH.c
@@ -198,12 +198,12 @@ void IOFlexIOi_DumpGHExtensions (cGH *GH, IOFile iof)
CCTK_INT4 i_temp;
CCTK_REAL d_temp;
ioGH *ioUtilGH;
- extern int PUGH_MainLoopIndex (void);
+ extern int CCTK_MainLoopIndex (void);
/* Get the handle for IOUtil extensions */
ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")];
- i_temp = PUGH_MainLoopIndex ();
+ i_temp = CCTK_MainLoopIndex ();
CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "main loop index", FLEXIO_INT4,
1, &i_temp));
diff --git a/src/RecoverGH.c b/src/RecoverGH.c
index 4f11c22..de38b62 100644
--- a/src/RecoverGH.c
+++ b/src/RecoverGH.c
@@ -430,7 +430,7 @@ static int IOFlexIOi_RecoverGHextensions (cGH *GH, fileinfo_t *file)
int index, nt_stored;
CCTK_REAL realBuffer;
CCTK_INT4 int4Buffer [2];
- extern int PUGH_SetMainLoopIndex (int main_loop_index);
+ extern int CCTK_SetMainLoopIndex (int main_loop_index);
if (CCTK_MyProc (GH) == 0) {
@@ -481,7 +481,7 @@ static int IOFlexIOi_RecoverGHextensions (cGH *GH, fileinfo_t *file)
GH->cctk_time = realBuffer;
GH->cctk_iteration = (int) int4Buffer [0];
- PUGH_SetMainLoopIndex ((int) int4Buffer [1]);
+ CCTK_SetMainLoopIndex ((int) int4Buffer [1]);
return (0);
}