From 5e780f6e5aade64edc76722be739d2ec9dcd9b44 Mon Sep 17 00:00:00 2001 From: jthorn Date: Wed, 31 May 2006 16:46:37 +0000 Subject: If we get an interpolation point that's too close to the edge of the grid (so the interpolation fails), then (if the user didn't request us to be silent) we print a warning message. This commit adds the text "(this may be caused by a global interpolation with\n" " driver::ghost_size too small)\n" to this warning message, to cue the user about a common cause of this problem. This "fixes" bug #2022, where the quotation marks are because that bug was actually reported against CactusBase/LocalInterp (but the same problem applies to this thorn). git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@33 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef --- src/template.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/template.c b/src/template.c index 6b231b9..48c1a5c 100644 --- a/src/template.c +++ b/src/template.c @@ -1009,6 +1009,8 @@ fflush(stdout); " CCTK_InterpLocalUniform():\n" " interpolation point is either outside the grid,\n" " or inside but too close to the grid boundary!\n" +" (this may be caused by a global interpolation with\n" +" driver::ghost_size too small)\n" " 0-origin interpolation point number pt=%d of N_interp_points=%d\n" #if (N_DIMS == 1) " interpolation point x=%g\n" -- cgit v1.2.3