aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef>2004-09-27 15:41:39 +0000
committerjthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef>2004-09-27 15:41:39 +0000
commit61182b683d97b8bbd5f586bf33ac9cc2836930e5 (patch)
treeebb56c1d8a050e216e8f5a6dfcac56b2cd922580
parent63c2cda52379aa218aedba6d19f9165a0b1958a2 (diff)
make an error message a little more informative
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@23 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
-rw-r--r--src/template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/template.c b/src/template.c
index 3b1670d..5f5e7c1 100644
--- a/src/template.c
+++ b/src/template.c
@@ -995,12 +995,12 @@ fflush(stdout);
" CCTK_InterpLocalUniform():\n"
" interpolation point is either outside the grid,\n"
" or inside but too close to the grid boundary!\n"
-" 0-origin interpolation point number pt=%d\n"
+" 0-origin interpolation point number pt=%d of N_interp_points=%d\n"
#if (N_DIMS == 1)
" interpolation point x=%g\n"
" grid x_min(delta_x)x_max = %g(%g)%g\n"
,
- pt,
+ pt, N_interp_points,
(double) interp_coords_fp[X_AXIS],
(double) grid_min_xyz[X_AXIS], (double) coord_delta [X_AXIS],
(double) grid_max_xyz[X_AXIS]);
@@ -1009,7 +1009,7 @@ fflush(stdout);
" grid x_min(delta_x)x_max = %g(%g)%g\n"
" grid y_min(delta_y)y_max = %g(%g)%g\n"
,
- pt,
+ pt, N_interp_points,
(double) interp_coords_fp[X_AXIS], (double) interp_coords_fp[Y_AXIS],
(double) grid_min_xyz[X_AXIS], (double) coord_delta [X_AXIS],
(double) grid_max_xyz[X_AXIS],
@@ -1021,7 +1021,7 @@ fflush(stdout);
" grid y_min(delta_y)y_max = %g(%g)%g\n"
" grid z_min(delta_z)z_max = %g(%g)%g\n"
,
- pt,
+ pt, N_interp_points,
(double) interp_coords_fp[X_AXIS], (double) interp_coords_fp[Y_AXIS],
(double) interp_coords_fp[Z_AXIS],
(double) grid_min_xyz[X_AXIS], (double) coord_delta [X_AXIS],