diff options
author | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-08 12:55:09 +0000 |
---|---|---|
committer | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-08 12:55:09 +0000 |
commit | de06e7d7f8c68949ab17c4434d3dca6335caf3c6 (patch) | |
tree | 221681e00e60cc246c507a468ee41e5a03e87ab8 /src/Write3D.c | |
parent | c21a78d1eabf4de6a3284417c1ccbfe17783cc3e (diff) |
New names for Group function calls
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@14 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Write3D.c')
-rw-r--r-- | src/Write3D.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/Write3D.c b/src/Write3D.c index d0bf57b..9921b51 100644 --- a/src/Write3D.c +++ b/src/Write3D.c @@ -94,9 +94,9 @@ void IOFlexIO_DumpVar (cGH *GH, int index, int timelevel, IOFile iof); Finally notice that @seeroutine main guarantees that this is never called on a 1- or 2-D grid. @enddesc - @calls CCTK_GetGHExtensionHandle - CCTK_GetMyProc - CCTK_GetnProcs + @calls CCTK_GHExtensionHandle + CCTK_MyProc + CCTK_nProcs CCTK_WARN @calledby IOFlexIO_Output3DVarAs IOFlexIO_TriggerOutput3D @@ -145,8 +145,8 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias, int first) /* Get the handle for IOUtil and IOFlexIO extensions */ - ioUtilGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")]; - myGH = (flexioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IOFlexIO")]; + ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; + myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")]; /* Get filename and reference to file handle */ filename = myGH->IEEEfname_3D [index]; @@ -162,8 +162,8 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias, int first) } /* What processor are we on? */ - myproc = CCTK_GetMyProc (GH); - nprocs = CCTK_GetnProcs (GH); + myproc = CCTK_MyProc (GH); + nprocs = CCTK_nProcs (GH); /* build the filename for output */ @@ -191,7 +191,7 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias, int first) IOFlexIO_Write3D_openFile (GH, filename, iofile, first); /* get the current timelevel */ - timelevel = CCTK_GetNumTimeLevels_ByIndex (index) - 1; + timelevel = CCTK_NumTimeLevelsFromVarI (index) - 1; if (timelevel > 0) timelevel--; @@ -240,8 +240,8 @@ void IOFlexIO_Write3D_closeFile (cGH *GH, const char *filename, IOFile *iofile) ioGH *ioUtilGH; flexioGH *myGH; - ioUtilGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")]; - myGH = (flexioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IOFlexIO")]; + ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; + myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")]; if (*iofile == NULL) return; @@ -288,8 +288,8 @@ void IOFlexIO_Write3D_openFile (cGH *GH, const char *filename, IOFile *iofile, i ioGH *ioUtilGH; flexioGH *myGH; - ioUtilGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")]; - myGH = (flexioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IOFlexIO")]; + ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; + myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")]; /* If we are the first time through, or writing one file per slice, we need to open a file in write mode. Or, if we are reusing file handles we will @@ -373,14 +373,14 @@ void IOFlexIO_Write3D_filename (cGH *GH, char *filename, const char *name) char extradir [256]; /* Extra stuff for an output dir */ char createdir [256]; /* Text for system call to create output directory */ - ioUtilGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")]; - pughGH = (pGH *) GH->extensions [CCTK_GetGHExtensionHandle ("PUGH")]; + ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; + pughGH = (pGH *) GH->extensions [CCTK_GHExtensionHandle ("PUGH")]; extra [0] = '\0'; extradir [0] = '\0'; - nprocs = CCTK_GetnProcs (GH); - myproc = CCTK_GetMyProc (GH); + nprocs = CCTK_nProcs (GH); + myproc = CCTK_MyProc (GH); #if 0 /* Say if we have a chunked data in the output file(s) */ |