diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2003-01-29 14:23:47 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2003-01-29 14:23:47 +0000 |
commit | eaf832530eacafb70c475941df6e4de3882d72a9 (patch) | |
tree | b88fa31a36b3f0b8b3f91a3f1f8307928a9e54ce /src | |
parent | 772098878facd280e95ac19e4fb8794000c32d5c (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/InterpLocalUniform.c | 22 |
1 files changed, 13 insertions, 9 deletions
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); } } |