aboutsummaryrefslogtreecommitdiff
path: root/src/Write3D.c
diff options
context:
space:
mode:
authorallen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-07-18 11:35:29 +0000
committerallen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-07-18 11:35:29 +0000
commitab7c971ceb848db311af7e57c00e1bf8773add9b (patch)
tree69057de76d2322fb89eea0d1e0c70941725b9638 /src/Write3D.c
parentbb1c3a9f91c93befd38f29ca22f5c0d954cbf132 (diff)
Changing parameter names for IO. There should be one more change tomorrow,
but then that should be it. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@16 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Write3D.c')
-rw-r--r--src/Write3D.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Write3D.c b/src/Write3D.c
index 9921b51..4681371 100644
--- a/src/Write3D.c
+++ b/src/Write3D.c
@@ -152,7 +152,7 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias, int first)
filename = myGH->IEEEfname_3D [index];
iofile = &myGH->IEEEfile_3D [index];
- if (IO_verbose) {
+ if (output_verbose) {
printf ("-------------------------------------------------------\n");
printf ("3D I/O on Grid Function %s\n", alias);
printf (" downsample (x,y,z): (%d,%d,%d) ioproc : %d\n",
@@ -179,7 +179,7 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias, int first)
* very strange case ... So leave it here for now (PW 11.5.98)
*/
if (*iofile && onefileperslice) {
- if (IO_verbose)
+ if (output_verbose)
printf ("Closing IEEEfile from previous iteration.\n");
CACTUS_IEEEIO_ERROR (IOclose (*iofile));
*iofile = NULL; /* prevent attempts to close it twice! */
@@ -214,7 +214,7 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias, int first)
IOFlexIO_Write3D_closeFile (GH, filename, iofile);
}
- if (IO_verbose)
+ if (output_verbose)
printf ("-------------------\n");
}
@@ -247,7 +247,7 @@ void IOFlexIO_Write3D_closeFile (cGH *GH, const char *filename, IOFile *iofile)
return;
if (onefileperslice) {
- if (IO_verbose)
+ if (output_verbose)
printf ("Closing IEEEfile from this iteration\n");
CACTUS_IEEEIO_ERROR (IOclose (*iofile));
*iofile = NULL;
@@ -255,12 +255,12 @@ void IOFlexIO_Write3D_closeFile (cGH *GH, const char *filename, IOFile *iofile)
}
if (myGH->reuse_fh) {
- if (IO_verbose)
+ if (output_verbose)
printf ("Pausing file %s\n", filename);
IEEEbufferOff (*iofile);
CACTUS_IEEEIO_ERROR (IOpause (*iofile));
} else {
- if (IO_verbose)
+ if (output_verbose)
printf ("Closing file %s\n", filename);
CACTUS_IEEEIO_ERROR (IOclose (*iofile));
*iofile = NULL;
@@ -298,7 +298,7 @@ void IOFlexIO_Write3D_openFile (cGH *GH, const char *filename, IOFile *iofile, i
if (first || onefileperslice) {
/* First time through or one file per slice; open anew */
- if (IO_verbose)
+ if (output_verbose)
printf ("Opening file %s\n", filename);
*iofile = IEEEopen (filename, "w");
@@ -319,7 +319,7 @@ void IOFlexIO_Write3D_openFile (cGH *GH, const char *filename, IOFile *iofile, i
if (*iofile) {
- if (IO_verbose)
+ if (output_verbose)
printf ("Resuming file %s\n", filename);
CACTUS_IEEEIO_ERROR (IOresume (*iofile));
@@ -329,7 +329,7 @@ void IOFlexIO_Write3D_openFile (cGH *GH, const char *filename, IOFile *iofile, i
Therefore we must be conserving file handles and failed
to use the pause()/resume methods(), So append.
*/
- if (IO_verbose)
+ if (output_verbose)
printf ("Re-opening file %s in append mode\n", filename);
*iofile = IEEEopen (filename, "a");
@@ -411,7 +411,7 @@ void IOFlexIO_Write3D_filename (cGH *GH, char *filename, const char *name)
sprintf (createdir, "mkdir -p %s/%s_3d", ioUtilGH->outpfx_3D, name);
- if (IO_verbose) {
+ if (output_verbose) {
printf ("Creating output directory with command\n %s\n", createdir);
fflush (stdout);
}