From 7079fc913dbf1e017f05387e04b7b79c6704ef22 Mon Sep 17 00:00:00 2001 From: allen Date: Sat, 5 Feb 2000 16:55:12 +0000 Subject: Removing USE_CCTK_ARGUMENTS and USE_CCTK_PARAMETERS since they are automatically included now git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@88 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- src/DumpGH.c | 4 ++-- src/DumpVar.c | 6 +++--- src/GHExtension.c | 8 ++++---- src/Output2D.c | 6 +++--- src/Output3D.c | 6 +++--- src/RecoverGH.c | 4 ++-- src/RestoreFile.c | 2 +- src/Startup.c | 2 +- src/Write2D.c | 2 +- src/Write3D.c | 8 ++++---- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/DumpGH.c b/src/DumpGH.c index abad53c..5dad2c6 100644 --- a/src/DumpGH.c +++ b/src/DumpGH.c @@ -50,7 +50,7 @@ void IOFlexIO_ConditionallyDumpGH (cGH *GH) } IOFlexIO_DumpGH (GH, CP_EVOLUTION_DATA); } - USE_CCTK_PARAMETERS + } @@ -419,6 +419,6 @@ void IOFlexIO_DumpGH (cGH *GH, int called_from) "-----------\n"); } - USE_CCTK_PARAMETERS + } diff --git a/src/DumpVar.c b/src/DumpVar.c index f75a0a7..7956f35 100644 --- a/src/DumpVar.c +++ b/src/DumpVar.c @@ -479,7 +479,7 @@ static void IOFlexIO_DumpGF (cGH *GH, int index, int timelevel, IOFile iof, if (free_outme) free (outme); - USE_CCTK_PARAMETERS + } @@ -596,7 +596,7 @@ static void IOFlexIO_AddCommonAttributes (cGH *GH, int index, int timelevel, CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "iteration", FLEXIO_INT4, 1, &i_to_IO)); - USE_CCTK_PARAMETERS + } @@ -878,7 +878,7 @@ static void IOFlexIO_getDumpData (cGH *GH, int index, int timelevel, (int) bnd [3], (int) bnd [4], (int) bnd [5]); } - USE_CCTK_PARAMETERS + } diff --git a/src/GHExtension.c b/src/GHExtension.c index 2eebdb9..6726f46 100644 --- a/src/GHExtension.c +++ b/src/GHExtension.c @@ -51,7 +51,7 @@ void *IOFlexIO_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH) return (newGH); - USE_CCTK_PARAMETERS + } int IOFlexIO_InitGH (cGH *GH) @@ -160,7 +160,7 @@ int IOFlexIO_InitGH (cGH *GH) return (0); - USE_CCTK_PARAMETERS + } @@ -180,7 +180,7 @@ int IOFlexIO_Terminate (cGH *GH) return (0); - USE_CCTK_PARAMETERS + } #endif @@ -253,5 +253,5 @@ static void SetupSliceCenter (cGH *GH) myGH->sp2xyz[1] = pughGH->lnsize [1]/2 - pughGH->lb [pughGH->myproc][1]; } - USE_CCTK_PARAMETERS + } diff --git a/src/Output2D.c b/src/Output2D.c index fb3e8ca..735ae5f 100644 --- a/src/Output2D.c +++ b/src/Output2D.c @@ -103,7 +103,7 @@ int IOFlexIO_Output2DGH (cGH *GH) return (0); - USE_CCTK_PARAMETERS + } @@ -157,7 +157,7 @@ int IOFlexIO_Output2DVarAs (cGH *GH, const char *fullname, const char *alias) return (0); - USE_CCTK_PARAMETERS + } @@ -263,5 +263,5 @@ int IOFlexIO_TriggerOutput2D (cGH *GH, int index) return (0); - USE_CCTK_PARAMETERS + } diff --git a/src/Output3D.c b/src/Output3D.c index f9f6873..7d0bec8 100644 --- a/src/Output3D.c +++ b/src/Output3D.c @@ -101,7 +101,7 @@ int IOFlexIO_Output3DGH (cGH *GH) return (0); - USE_CCTK_PARAMETERS + } @@ -156,7 +156,7 @@ int IOFlexIO_Output3DVarAs (cGH *GH, const char *fullname, const char *alias) return (0); - USE_CCTK_PARAMETERS + } @@ -260,5 +260,5 @@ int IOFlexIO_TriggerOutput3D (cGH *GH, int index) return (0); - USE_CCTK_PARAMETERS + } diff --git a/src/RecoverGH.c b/src/RecoverGH.c index 17e8c1a..ea709e1 100644 --- a/src/RecoverGH.c +++ b/src/RecoverGH.c @@ -418,7 +418,7 @@ int IOFlexIO_RecoverGH (cGH *GH, const char *basename, int called_from) return (0); - USE_CCTK_PARAMETERS + } static int IOFlexIO_restoreParams (IOFile ifp) @@ -473,5 +473,5 @@ static int IOFlexIO_restoreParams (IOFile ifp) return (0); - USE_CCTK_PARAMETERS + } diff --git a/src/RestoreFile.c b/src/RestoreFile.c index 3eba23a..bddd9bb 100644 --- a/src/RestoreFile.c +++ b/src/RestoreFile.c @@ -331,7 +331,7 @@ int IOFlexIO_RestoreIEEEIOfile (cGH *GH, IOFile ifp, int file_ioproc, return (0); - USE_CCTK_PARAMETERS + } diff --git a/src/Startup.c b/src/Startup.c index a5deeee..d900f5a 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -76,5 +76,5 @@ void IOFlexIO_Startup (void) if (IOUtil_RegisterRecover ("IOFlexIO recovery", IOFlexIO_RecoverGH) < 0) CCTK_WARN (1, "Failed to register IOFlexIO recovery routine"); - USE_CCTK_PARAMETERS + } diff --git a/src/Write2D.c b/src/Write2D.c index 4022050..0dc697a 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -475,7 +475,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) cactus_memtrace(); #endif - USE_CCTK_PARAMETERS + } diff --git a/src/Write3D.c b/src/Write3D.c index 128cdc9..f3d5865 100644 --- a/src/Write3D.c +++ b/src/Write3D.c @@ -231,7 +231,7 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias) if (verbose) printf ("-------------------\n"); - USE_CCTK_PARAMETERS + } @@ -276,7 +276,7 @@ static void IOFlexIO_Write3D_closeFile (cGH *GH, IEEEfile_3D_t *IEEEfile_3D) if (out3D_septimefiles) free (IEEEfile_3D); - USE_CCTK_PARAMETERS + } @@ -346,7 +346,7 @@ static void IOFlexIO_Write3D_openFile (cGH *GH, IEEEfile_3D_t *IEEEfile_3D, /* Turn on buffer cache (with default size chosen by IEEEIO lib) */ IEEEbufferOn (IEEEfile_3D->iofile, 0); - USE_CCTK_PARAMETERS + } @@ -474,5 +474,5 @@ static IEEEfile_3D_t *IOFlexIO_Get3Dfile (cGH *GH, const char *alias, return (IEEEfile_3D); - USE_CCTK_PARAMETERS + } -- cgit v1.2.3