diff options
author | jthorn <jthorn@1c20744c-e24a-42ec-9533-f5004cb800e5> | 2003-01-18 17:34:26 +0000 |
---|---|---|
committer | jthorn <jthorn@1c20744c-e24a-42ec-9533-f5004cb800e5> | 2003-01-18 17:34:26 +0000 |
commit | 888354afcc2ef240911b763e42d50208b44e6129 (patch) | |
tree | 607cfffe5e5bc48b1f6036b9fe944d03d3806496 | |
parent | 0127271e236421acd3cd5f0323d2c8f3f4e8b40f (diff) |
add a little bit more debug printing (inside #ifdef PUGHINTERP_DEBUG)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@42 1c20744c-e24a-42ec-9533-f5004cb800e5
-rw-r--r-- | src/InterpGridArrays.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/InterpGridArrays.c b/src/InterpGridArrays.c index c11c52b..507c5d2 100644 --- a/src/InterpGridArrays.c +++ b/src/InterpGridArrays.c @@ -488,6 +488,10 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, int const has_upper = extras->ub[proc][i] == GH->cctk_gsh[i]-1; range_min[i] = origin_global[i] + (extras->lb[proc][i] + (!has_lower) * (extras->nghostzones[i]-0.5) - FUDGE)*delta_global[i]; range_max[i] = origin_global[i] + (extras->ub[proc][i] - (!has_upper) * (extras->nghostzones[i]-0.5) + FUDGE)*delta_global[i]; +#ifdef PUGHINTERP_DEBUG + printf("processor %d: range_min[%d]=%g range_max[%d]=%g\n", + proc, i, (double) range_min[i], i, (double) range_max[i]); +#endif } /* and now which point will be processed by what processor */ |