aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668>2002-05-06 09:23:45 +0000
committertradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668>2002-05-06 09:23:45 +0000
commit98f69250705cc83d32c3281ca8022b400748bf6e (patch)
treeb1043ff72ed8cdd36299a835557f99c0f72e800a /src
parent401f07400f3ce40f037b2695adc43c0279b93b9f (diff)
Parameter names changes as announced in today's mail to users@cactuscode.org.
You must also update thorn IOUtil now. This thorn will be moved from BetaThorns to CactusPUGHIO now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@64 7842ec3a-9562-4be5-9c5b-06ba18f2b668
Diffstat (limited to 'src')
-rw-r--r--src/DumpUtils.c12
-rw-r--r--src/DumpVar.c2
-rw-r--r--src/RecoverVar.c10
-rw-r--r--src/Startup.c4
4 files changed, 14 insertions, 14 deletions
diff --git a/src/DumpUtils.c b/src/DumpUtils.c
index 3c12431..df0a77c 100644
--- a/src/DumpUtils.c
+++ b/src/DumpUtils.c
@@ -19,8 +19,8 @@
#include "ioHDF5UtilGH.h"
/* the rcs ID and its dummy function to use it */
-static const char *rcsid = "$Id$";
-CCTK_FILEVERSION(BetaThorns_IOHDF5Util_DumpUtils_c)
+static const char *rcsid = "$Header$";
+CCTK_FILEVERSION(CactusPUGHIO_IOHDF5Util_DumpUtils_c)
/*@@
@@ -80,7 +80,7 @@ int IOHDF5Util_DumpGH (const cGH *GH, const int *timers, hid_t file)
IOHDF5Util_DumpGHExtensions (GH, file);
}
- if (verbose)
+ if (CCTK_Equals (verbose, "full"))
{
CCTK_INFO ("Dumping Grid Variables ...");
}
@@ -133,7 +133,7 @@ int IOHDF5Util_DumpGH (const cGH *GH, const int *timers, hid_t file)
request->timelevel < gdata.numtimelevels;
request->timelevel++)
{
- if (verbose && file >= 0)
+ if (CCTK_Equals (verbose, "full") && file >= 0)
{
fullname = CCTK_FullName (request->vindex);
CCTK_VInfo (CCTK_THORNSTRING, " %s (timelevel %d)",
@@ -313,7 +313,7 @@ void IOHDF5Util_DumpParameters (const cGH *GH, int all, hid_t file)
DECLARE_CCTK_PARAMETERS
- if (verbose)
+ if (CCTK_Equals (verbose, "full"))
{
CCTK_INFO ("Dumping Parameters ...");
}
@@ -365,7 +365,7 @@ void IOHDF5Util_DumpGHExtensions (const cGH *GH, hid_t file)
DECLARE_CCTK_PARAMETERS
- if (verbose)
+ if (CCTK_Equals (verbose, "full"))
{
CCTK_INFO ("Dumping GH extensions ...");
}
diff --git a/src/DumpVar.c b/src/DumpVar.c
index 9a0afba..75544ce 100644
--- a/src/DumpVar.c
+++ b/src/DumpVar.c
@@ -22,7 +22,7 @@
/* the rcs ID and its dummy function to use it */
static const char *rcsid = "$Header$";
-CCTK_FILEVERSION(BetaThorns_IOHDF5Util_DumpVar_c)
+CCTK_FILEVERSION(CactusPUGHIO_IOHDF5Util_DumpVar_c)
/********************************************************************
diff --git a/src/RecoverVar.c b/src/RecoverVar.c
index 95d9835..29f48f2 100644
--- a/src/RecoverVar.c
+++ b/src/RecoverVar.c
@@ -21,8 +21,8 @@
#include "ioHDF5UtilGH.h"
/* the rcs ID and its dummy function to use it */
-static const char *rcsid = "$Id$";
-CCTK_FILEVERSION(BetaThorns_IOHDF5Util_RecoverVar_c)
+static const char *rcsid = "$Header$";
+CCTK_FILEVERSION(CactusPUGHIO_IOHDF5Util_RecoverVar_c)
/********************************************************************
@@ -254,7 +254,7 @@ int IOHDF5Util_RecoverParameters (const fileinfo_t *fileinfo)
if (CCTK_MyProc (NULL) == 0)
{
- if (verbose)
+ if (CCTK_Equals (verbose, "full"))
{
CCTK_VInfo (CCTK_THORNSTRING, "Recovering parameters from checkpoint "
"file '%s'", fileinfo->filename);
@@ -726,7 +726,7 @@ static herr_t processDataset (hid_t group, const char *datasetname, void *arg)
check whether the user wants to have this variable restored */
if (ioUtilGH->do_inVars && ! ioUtilGH->do_inVars[vindex])
{
- if (verbose)
+ if (CCTK_Equals (verbose, "full"))
{
fullname = CCTK_FullName (vindex);
CCTK_VInfo (CCTK_THORNSTRING, "Ignoring variable '%s' for file reader "
@@ -736,7 +736,7 @@ static herr_t processDataset (hid_t group, const char *datasetname, void *arg)
return (0);
}
- if (verbose)
+ if (CCTK_Equals (verbose, "full"))
{
fullname = CCTK_FullName (vindex);
CCTK_VInfo (CCTK_THORNSTRING, "Restoring variable '%s' (timelevel %d)",
diff --git a/src/Startup.c b/src/Startup.c
index 9fe875c..48b5937 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -17,8 +17,8 @@
/* the rcs ID and its dummy function to use it */
-static const char *rcsid = "$Id$";
-CCTK_FILEVERSION(BetaThorns_IOHDF5Util_Startup_c)
+static const char *rcsid = "$Header$";
+CCTK_FILEVERSION(CactusPUGHIO_IOHDF5Util_Startup_c)
/********************************************************************