diff options
-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 */ |