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/Write2D.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/Write2D.c')
-rw-r--r-- | src/Write2D.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Write2D.c b/src/Write2D.c index 8b53daf..b15ccb9 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -47,9 +47,9 @@ static char *rcsid = "$Id$"; @author Gabrielle Allen @desc Writes the 2D data of a variable into separate IEEEIO files @enddesc - @calls CCTK_GetGHExtensionHandle - CCTK_GetMyProc - CCTK_GetnProcs + @calls CCTK_GHExtensionHandle + CCTK_MyProc + CCTK_nProcs CCTK_WARN @calledby IOFlexIO_Output2DVarAs IOFlexIO_TriggerOutput2D @@ -108,13 +108,13 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias, int first) /* Get the handles for pugh, IOFlexIO and IOUtil extensions */ - pughGH = (pGH *) GH->extensions [CCTK_GetGHExtensionHandle ("PUGH")]; - ioUtilGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")]; - myGH = (flexioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IOFlexIO")]; + pughGH = (pGH *) GH->extensions [CCTK_GHExtensionHandle ("PUGH")]; + ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; + myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")]; /* What processor are we on? */ - myproc = CCTK_GetMyProc (GH); - nprocs = CCTK_GetnProcs (GH); + myproc = CCTK_MyProc (GH); + nprocs = CCTK_nProcs (GH); if (IO_verbose) { printf ("<><><><><><><><><><><><><><><><><>\n"); @@ -169,12 +169,12 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias, int first) nrempoints = (CCTK_INT *) malloc (nprocs * sizeof (CCTK_INT)); assert (nrempoints); - timelevel = CCTK_GetNumTimeLevels_ByIndex (index) - 1; + timelevel = CCTK_NumTimeLevelsFromVarI (index) - 1; if (timelevel > 0) timelevel--; - data = CCTK_GetVarDataPtr_ByIndex (GH, timelevel, index); + data = CCTK_VarDataPtrI (GH, timelevel, index); - variable_type = CCTK_GetVarVType (index); + variable_type = CCTK_VarTypeI (index); switch (variable_type) { case CCTK_VARIABLE_CHAR: ioflex_type = FLEXIO_CHAR; |