aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef>2006-05-31 16:46:37 +0000
committerjthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef>2006-05-31 16:46:37 +0000
commit5e780f6e5aade64edc76722be739d2ec9dcd9b44 (patch)
tree9c34f9be0ab54a257f7f871b8f63c3b97b945cec
parent33e20f3f11252dd8d023d82753a341a20e90aacb (diff)
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
-rw-r--r--src/template.c2
1 files changed, 2 insertions, 0 deletions
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"