aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2010-07-13 15:41:27 +0000
committerknarf <knarf@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2010-07-13 15:41:27 +0000
commit15287ca1c6827af0b736501996a0e17f95f1cfb1 (patch)
treec8c03a44b4963bd0c4b1cd55ce2aa1be687f4fbb
parente3df0d4ee42cd0a7914f4a5aacefec6611ad201d (diff)
combine error messages
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TOVSolver/trunk@116 1bdb13ef-5d69-4035-bb54-08abeb3aa7f1
-rw-r--r--src/external.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/external.inc b/src/external.inc
index a1318f4..94509b1 100644
--- a/src/external.inc
+++ b/src/external.inc
@@ -308,11 +308,11 @@ void newton_raphson(CCTK_REAL *vx, CCTK_REAL *vy, CCTK_REAL *vz,
if (count > 100)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, \
- "Failed to converge IVP rescaling\nat (%.3g %.3g %.3g)\n"\
- " orig_rho:%g rho:%g, v^2=%g, rel_diff=%g", \
+ "Failed to converge IVP rescaling, trying slow bisection method\n"\
+ " at (%.3g %.3g %.3g)\n"\
+ " orig_rho:%g rho:%g, v^2=%g, rel_diff=%g", \
x, y, z, rho_orig, *rhonew, *v_2,
fabs(*rhonew-*rhoold)/fabs(*rhonew));
- CCTK_WARN(1, "trying slow bisection method");
bisection(vx,vy,vz,rhoold,rhonew,w_lorentz_2,v_2,
Gamma, K,
source, mom_source_x, mom_source_y, mom_source_z,