From 888354afcc2ef240911b763e42d50208b44e6129 Mon Sep 17 00:00:00 2001 From: jthorn Date: Sat, 18 Jan 2003 17:34:26 +0000 Subject: 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 --- src/InterpGridArrays.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- cgit v1.2.3