aboutsummaryrefslogtreecommitdiff
path: root/src/Output.c
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2002-04-17 08:42:50 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2002-04-17 08:42:50 +0000
commit31bb9a3c76d7e18d4cce38c6dc3010bb5ef0f8ed (patch)
treefe64ab5d800ea2df189e51c21cfb0b29a8fc3523 /src/Output.c
parentd8aa32794e141b22fa9954b4ec3afe6b8ae50d8a (diff)
Just some minor changes before doing the transition to use the new hyperslabbing
API: completed grdoc, put in some more comments, removed dead code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@117 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src/Output.c')
-rw-r--r--src/Output.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/Output.c b/src/Output.c
index f9186d3..9f91ae0 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -53,8 +53,8 @@ int IOHDF5_OutputGH (const cGH *GH)
{
int vindex, retval;
ioHDF5GH *myGH;
- const char *name;
char *fullname;
+ const char *name;
DECLARE_CCTK_PARAMETERS
@@ -79,8 +79,8 @@ int IOHDF5_OutputGH (const cGH *GH)
if (verbose)
{
- CCTK_VInfo (CCTK_THORNSTRING, "IOHDF5_OutputGH: (fullname / name) = "
- "(%s / %s)", fullname, name);
+ CCTK_VInfo (CCTK_THORNSTRING, "IOHDF5_OutputGH: (fullname, name) = "
+ "(%s, %s)", fullname, name);
}
if (IOHDF5_OutputVarAs (GH, fullname, name) == 0)
@@ -103,8 +103,7 @@ int IOHDF5_OutputGH (const cGH *GH)
@date Sat March 6 1999
@author Gabrielle Allen
@desc
- Unconditional output of a variable
- using the IOHDF5 output method.
+ Unconditional output of a variable using the IOHDF5 I/O method.
@enddesc
@calls IOHDF5_Write
@@ -292,9 +291,9 @@ int IOHDF5_TriggerOutput (const cGH *GH, int vindex)
}
-/***************************************************************************/
-/* local functions */
-/***************************************************************************/
+/********************************************************************
+ ******************** Internal Routines ************************
+ ********************************************************************/
/*@@
@routine CheckSteerableParameters
@date Mon Oct 10 2000
@@ -314,7 +313,7 @@ int IOHDF5_TriggerOutput (const cGH *GH, int vindex)
@@*/
static void CheckSteerableParameters (ioHDF5GH *myGH)
{
- int type, times_set;
+ int times_set;
static int out_vars_lastset = -1, user_was_warned = 0;
DECLARE_CCTK_PARAMETERS
@@ -342,7 +341,7 @@ static void CheckSteerableParameters (ioHDF5GH *myGH)
myGH->out_every = *(const CCTK_INT *)
CCTK_ParameterGet ("out_every",
CCTK_ImplementationThorn ("IO"),
- &type);
+ NULL);
if (myGH->out_every == 0)
{
myGH->out_every = -1;