From 961ea812ef5048b2a058f5fbd3a8ce5cb7fc7772 Mon Sep 17 00:00:00 2001 From: eschnett Date: Thu, 20 Jan 2011 22:04:09 +0000 Subject: Correct function signature git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@212 94b1c47f-dcfd-45ef-a468-0854c0e9e350 --- src/ChooseOutput.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ChooseOutput.c b/src/ChooseOutput.c index 0ccddf6..dabb47f 100644 --- a/src/ChooseOutput.c +++ b/src/ChooseOutput.c @@ -41,8 +41,8 @@ CCTK_FILEVERSION(CactusBase_IOASCII_ChooseOutput_c) /******************************************************************** ******************** External Routines ************************ ********************************************************************/ -void IOASCII_Choose1D (const cGH *GH); -void IOASCII_Choose2D (const cGH *GH); +void IOASCII_Choose1D (CCTK_ARGUMENTS); +void IOASCII_Choose2D (CCTK_ARGUMENTS); /*@@ @@ -61,7 +61,7 @@ void IOASCII_Choose2D (const cGH *GH); @vio in @endvar @@*/ -void IOASCII_Choose1D (const cGH *GH) +void IOASCII_Choose1D (CCTK_ARGUMENTS) { int i, j, maxdim; asciiioGH *myGH; @@ -87,7 +87,7 @@ void IOASCII_Choose1D (const cGH *GH) GET_SLICE (out1D_zline_y, out_zline_y, origin_index[2][1], origin_phys[2][1]); maxdim = CCTK_MaxDim (); - myGH = CCTK_GHExtension (GH, "IOASCII"); + myGH = CCTK_GHExtension (cctkGH, "IOASCII"); myGH->spxyz = malloc (maxdim * sizeof (int **)); for (i = 0; i < maxdim; i++) @@ -101,7 +101,7 @@ void IOASCII_Choose1D (const cGH *GH) if (i < 3) { - IOUtil_1DLines (GH, i + 1, origin_index, origin_phys, myGH->spxyz[i]); + IOUtil_1DLines (cctkGH, i + 1, origin_index, origin_phys, myGH->spxyz[i]); } } @@ -127,7 +127,7 @@ void IOASCII_Choose1D (const cGH *GH) @vio in @endvar @@*/ -void IOASCII_Choose2D (const cGH *GH) +void IOASCII_Choose2D (CCTK_ARGUMENTS) { int i, maxdim; asciiioGH *myGH; @@ -141,7 +141,7 @@ void IOASCII_Choose2D (const cGH *GH) GET_SLICE (out2D_yzplane_x, out_yzplane_x, origin_index[2], origin_phys[2]); maxdim = CCTK_MaxDim (); - myGH = CCTK_GHExtension (GH, "IOASCII"); + myGH = CCTK_GHExtension (cctkGH, "IOASCII"); myGH->sp2xyz = malloc (3 * sizeof (int *)); for (i = 0; i < maxdim; i++) @@ -150,7 +150,7 @@ void IOASCII_Choose2D (const cGH *GH) if (i == 2) { - IOUtil_2DPlanes (GH, i + 1, origin_index, origin_phys, myGH->sp2xyz[i]); + IOUtil_2DPlanes (cctkGH, i + 1, origin_index, origin_phys, myGH->sp2xyz[i]); } } } -- cgit v1.2.3