aboutsummaryrefslogtreecommitdiff
path: root/src/GHExtension.c
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-01-21 18:00:59 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-01-21 18:00:59 +0000
commit400e340a12e6019f91ded50e5ba1791ee04edda0 (patch)
treed1e719baf82aa32efd45d36bf6b3ec7aec66713e /src/GHExtension.c
parentd58e1c47d498896b0c1f208724c7d138abce6349 (diff)
Added several stuff to IOFlexIO:
- checkpointing/recovery of parameters - made 'out2D_every', 'out2D_vars', 'out3D_every' and 'out3D_vars' steerable - fixed compiler warnings - grdocs git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@78 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/GHExtension.c')
-rw-r--r--src/GHExtension.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c
index 0633017..58f6509 100644
--- a/src/GHExtension.c
+++ b/src/GHExtension.c
@@ -26,7 +26,7 @@
/* local function prototypes */
-void SetupSliceCenter (cGH *GH);
+static void SetupSliceCenter (cGH *GH);
void *IOFlexIO_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH)
@@ -35,6 +35,7 @@ void *IOFlexIO_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH)
int i, numvars;
flexioGH *newGH;
+
numvars = CCTK_NumVars ();
newGH = (flexioGH *) malloc (sizeof (flexioGH));
@@ -52,7 +53,6 @@ void *IOFlexIO_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH)
return (newGH);
USE_CCTK_PARAMETERS
-
}
int IOFlexIO_InitGH (cGH *GH)
@@ -162,7 +162,6 @@ int IOFlexIO_InitGH (cGH *GH)
return (0);
USE_CCTK_PARAMETERS
-
}
@@ -183,7 +182,6 @@ int IOFlexIO_Terminate (cGH *GH)
return (0);
USE_CCTK_PARAMETERS
-
}
#endif
@@ -191,7 +189,7 @@ int IOFlexIO_Terminate (cGH *GH)
/****************************************************************************/
/* local routines */
/****************************************************************************/
-void SetupSliceCenter (cGH *GH)
+static void SetupSliceCenter (cGH *GH)
{
DECLARE_CCTK_PARAMETERS
int dim;
@@ -257,5 +255,4 @@ void SetupSliceCenter (cGH *GH)
}
USE_CCTK_PARAMETERS
-
}