From 61182b683d97b8bbd5f586bf33ac9cc2836930e5 Mon Sep 17 00:00:00 2001 From: jthorn Date: Mon, 27 Sep 2004 15:41:39 +0000 Subject: 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 --- src/template.c | 8 ++++---- 1 file 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], -- cgit v1.2.3