diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2004-04-27 16:43:19 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2004-04-27 16:43:19 +0000 |
commit | b5d94d9e408b1f857d2d6a47456885ed633d04b6 (patch) | |
tree | f35d0fb42c02a453078610bb4fd04418db7a12c3 /src | |
parent | e89f09029a07b707428a2d286fd0531448d10b26 (diff) |
change all occurences of CCTK_VWarn(1, ...)
to CCTK_VWarn(SERIOUS_WARNING, ...)
to make the semantics clearer
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1314 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/Newton.cc | 2 | ||||
-rw-r--r-- | src/driver/aliased_functions.cc | 6 | ||||
-rw-r--r-- | src/driver/io.cc | 2 | ||||
-rw-r--r-- | src/driver/setup.cc | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/driver/Newton.cc b/src/driver/Newton.cc index b1f3ece..fdd5bcc 100644 --- a/src/driver/Newton.cc +++ b/src/driver/Newton.cc @@ -471,7 +471,7 @@ if (hs.has_genuine_horizons()) verbose_info.print_algorithm_details); if ((rcond >= 0.0) && (rcond < 100.0*FP_EPSILON)) then { - CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + CCTK_VWarn(SERIOUS_WARNING, __LINE__, __FILE__, CCTK_THORNSTRING, "Newton_solve: Jacobian matrix is numerically singular!"); // give up on this horizon break; // *** LOOP CONTROL *** diff --git a/src/driver/aliased_functions.cc b/src/driver/aliased_functions.cc index b3ea530..2b21d81 100644 --- a/src/driver/aliased_functions.cc +++ b/src/driver/aliased_functions.cc @@ -72,7 +72,7 @@ const struct verbose_info& verbose_info = state.verbose_info; if (! ((horizon_number >= 1) && (horizon_number <= state.N_horizons)) ) then { - CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + CCTK_VWarn(SERIOUS_WARNING, __LINE__, __FILE__, CCTK_THORNSTRING, "AHFinderDirect_local_coordinate_origin():\n" " horizon_number=%d must be in the range [1,N_horizons=%d]!\n" , @@ -113,7 +113,7 @@ const struct verbose_info& verbose_info = state.verbose_info; if (! ((horizon_number >= 1) && (horizon_number <= state.N_horizons)) ) then { - CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + CCTK_VWarn(SERIOUS_WARNING, __LINE__, __FILE__, CCTK_THORNSTRING, "AHFinderDirect_horizon_was_found():\n" " horizon_number=%d must be in the range [1,N_horizons=%d]!\n" , @@ -161,7 +161,7 @@ const struct verbose_info& verbose_info = state.verbose_info; if (! ((horizon_number >= 1) && (horizon_number <= state.N_horizons)) ) then { - CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + CCTK_VWarn(SERIOUS_WARNING, __LINE__, __FILE__, CCTK_THORNSTRING, "AHFinderDirect_distance_outside_thorn():\n" " horizon_number=%d must be in the range [1,N_horizons=%d]!\n" , diff --git a/src/driver/io.cc b/src/driver/io.cc index b763761..1e1eb93 100644 --- a/src/driver/io.cc +++ b/src/driver/io.cc @@ -301,7 +301,7 @@ void output_Jacobians(const patch_system& ps, { if (Jac_NP_ptr == NULL) then { - CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + CCTK_VWarn(SERIOUS_WARNING, __LINE__, __FILE__, CCTK_THORNSTRING, "output_Jacobians(): Jac_NP_ptr == NULL is not (yet) supported!"); return; // *** ERROR RETURN *** } diff --git a/src/driver/setup.cc b/src/driver/setup.cc index 445e3f8..edf52f3 100644 --- a/src/driver/setup.cc +++ b/src/driver/setup.cc @@ -789,7 +789,7 @@ else if (STRING_EQUAL(grid_domain, "octant")) } else { - CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + CCTK_VWarn(SERIOUS_WARNING, __LINE__, __FILE__, CCTK_THORNSTRING, "\n" " choose_patch_system_type()\n" " grid::domain = \"%s\" not supported!\n" |