From eaf832530eacafb70c475941df6e4de3882d72a9 Mon Sep 17 00:00:00 2001 From: jthorn Date: Wed, 29 Jan 2003 14:23:47 +0000 Subject: give a bit more info if we warn about "almost certainly a mistake" boundary off-centering vs extrapolation tolerances git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@127 df1f8a13-aa1d-4dd4-9681-27ded5b42416 --- .../InterpLocalUniform.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/GeneralizedPolynomial-Uniform/InterpLocalUniform.c b/src/GeneralizedPolynomial-Uniform/InterpLocalUniform.c index 1f63a03..2c1582c 100644 --- a/src/GeneralizedPolynomial-Uniform/InterpLocalUniform.c +++ b/src/GeneralizedPolynomial-Uniform/InterpLocalUniform.c @@ -840,16 +840,20 @@ int ibndry; then CCTK_VWarn(WARNING_MSG_SEVERITY_LEVEL, __LINE__, __FILE__, CCTK_THORNSTRING, "\n" -" CCTK_InterpLocalUniform(): warning: setting\n" -" boundary_off_centering_tolerance[%d] == 0.0\n" -" and\n" -" boundary_extrapolation_tolerance[%d] > 0.0\n" -" is almost certainly a mistake\n" -" (the boundary_extrapolation_tolerance[%d]\n" -" setting will have no effect because of the\n" -" boundary_off_centering_tolerance[%d] setting)" +" CCTK_InterpLocalUniform():\n" +" warning: setting boundary_off_centering_tolerance[%d] == 0.0\n" +" and boundary_extrapolation_tolerance[%d] == %g > 0.0\n" +" is almost certainly a mistake\n" +" (the boundary_extrapolation_tolerance[%d] == %g\n" +" setting will have no effect because of the\n" +" boundary_off_centering_tolerance[%d] == 0.0 setting)" , - ibndry, ibndry, ibndry, ibndry); + ibndry, + ibndry, + (double) boundary_extrapolation_tolerance[ibndry], + ibndry, + (double) boundary_extrapolation_tolerance[ibndry], + ibndry); } } -- cgit v1.2.3