diff options
author | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-30 22:46:00 +0000 |
---|---|---|
committer | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-30 22:46:00 +0000 |
commit | 0d0f6983f1800c01c8553bc8e4be441342252b0b (patch) | |
tree | fea31440962f5a8d74c53b8f821804c919e8d415 /src/Write2D.c | |
parent | fa54b6d245abe8c84bb6e89ef30fd4f5cef66b29 (diff) |
A lot of parameter name changes, especially for IO
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@27 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Write2D.c')
-rw-r--r-- | src/Write2D.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Write2D.c b/src/Write2D.c index 9b627dc..b4e27d3 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -114,7 +114,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) myproc = CCTK_MyProc (GH); nprocs = CCTK_nProcs (GH); - if (output_verbose) { + if (verbose) { printf ("<><><><><><><><><><><><><><><><><>\n"); printf ("2D Slice for [%s]\n", alias); #if 0 @@ -240,7 +240,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) nj = GH->cctk_gsh[1]; origin[1] = 0.0; delta[1] = pughGH->dy0; } - if (output_verbose) { + if (verbose) { printf ("Npoints in dir %d is %d -> ",dir,npoints); printf ("Global npoints is %d\n",ngpoints); } @@ -250,7 +250,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) CACTUS_MPI_ERROR (MPI_Gather (&npoints, 1, PUGH_MPI_INT, nrempoints, 1, PUGH_MPI_INT, 0, pughGH->PUGH_COMM_WORLD)); - if (output_verbose && myproc == 0) + if (verbose && myproc == 0) for (i = 0; i < nprocs; i++) printf ("From proc %d: %d\n", i, (int) nrempoints [i]); @@ -263,7 +263,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) for (i = 0; i < nprocs; i++) maxrempt = (nrempoints [i] > maxrempt ? nrempoints [i] : maxrempt); - if (output_verbose) + if (verbose) printf ("Maximum remote points: %d\n", maxrempt); /* OK so we want the ordering in bnd to be yz xz or xy but the @@ -298,7 +298,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) bnd [hi+1] = 0; } - if (output_verbose) + if (verbose) printf ("Local bounds %d: j -> %d %d k -> %d %d\n", dir, locbnd [0], locbnd [1], locbnd [2], locbnd [3]); @@ -369,7 +369,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) for (i = 0; i < nprocs; i++) { void *ud; - if (output_verbose) + if (verbose) printf ("Proceesing proc %d\n",i);fflush(stdout); if (nrempoints [i] > 0) { @@ -377,7 +377,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) ud = locdat; else { - if (output_verbose) { + if (verbose) { printf ("Receiving %d from %d\n", nrempoints [i], i); fflush (stdout); } @@ -388,7 +388,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) i, 2*i+BASE, pughGH->PUGH_COMM_WORLD, &ms)); ud = recd; - if (output_verbose) { + if (verbose) { printf (" Received %d points from %d\n", (int) nrempoints [i], i); printf (" Data lives at [%d %d] -> [%d %d]\n", @@ -397,7 +397,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) } /* End proc != 0 */ - if (output_verbose) + if (verbose) printf ("Remote Bounds %d: j -> %d %d k -> %d %d\n", dir, (int) bnd [0], (int) bnd[1], (int)bnd[2], (int)bnd[3]); @@ -462,7 +462,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias) free (nrempoints); #if 0 - if (output_verbose) + if (verbose) cactus_memtrace(); #endif } |