[Commits] [svn:einsteintoolkit] AHFinderDirect/trunk/src/ (Rev. 1574)

schnetter at cct.lsu.edu schnetter at cct.lsu.edu
Mon Feb 25 21:39:36 CST 2013


User: eschnett
Date: 2013/02/25 09:39 PM

Modified:
 /trunk/src/driver/
  initial_guess.cc, setup.cc
 /trunk/src/gr/
  misc-gr.cc

Log:
 Use CCTK_VError in some places

File Changes:

Directory: /trunk/src/driver/
=============================

File [modified]: initial_guess.cc
Delta lines: +1 -1
===================================================================
--- trunk/src/driver/initial_guess.cc	2013-02-02 05:47:25 UTC (rev 1573)
+++ trunk/src/driver/initial_guess.cc	2013-02-26 03:39:36 UTC (rev 1574)
@@ -171,7 +171,7 @@
    then return initial_guess__coord_sphere;
 else if (STRING_EQUAL(initial_guess_method_string, "coordinate ellipsoid"))
    then return initial_guess__coord_ellipsoid;
-else	CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
+else	CCTK_VError(__LINE__, __FILE__, CCTK_THORNSTRING,
 "\n"
 "   decode_initial_guess_method():\n"
 "        unknown initial_guess_method_string=\"%s\"!",

File [modified]: setup.cc
Delta lines: +4 -4
===================================================================
--- trunk/src/driver/setup.cc	2013-02-02 05:47:25 UTC (rev 1573)
+++ trunk/src/driver/setup.cc	2013-02-26 03:39:36 UTC (rev 1574)
@@ -788,9 +788,9 @@
    then return method__test_expansion_Jacobians;
 else if (STRING_EQUAL(method_string, "find horizons"))
    then return method__find_horizons;
-else	CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
-		   "decode_method(): unknown method_string=\"%s\"!",
-		   method_string);				/*NOTREACHED*/
+else	CCTK_VError(__LINE__, __FILE__, CCTK_THORNSTRING,
+		    "decode_method(): unknown method_string=\"%s\"!",
+		    method_string);				/*NOTREACHED*/
 }
 	  }
 
@@ -814,7 +814,7 @@
    then return verbose_level__algorithm_details;
 else if (STRING_EQUAL(verbose_level_string, "algorithm debug"))
    then return verbose_level__algorithm_debug;
-else	CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
+else	CCTK_VError(__LINE__, __FILE__, CCTK_THORNSTRING,
 "decode_verbose_level(): unknown verbose_level_string=\"%s\"!",
 		   verbose_level_string);			/*NOTREACHED*/
 }

Directory: /trunk/src/gr/
=========================

File [modified]: misc-gr.cc
Delta lines: +4 -4
===================================================================
--- trunk/src/gr/misc-gr.cc	2013-02-02 05:47:25 UTC (rev 1573)
+++ trunk/src/gr/misc-gr.cc	2013-02-26 03:39:36 UTC (rev 1574)
@@ -56,7 +56,7 @@
 else if (STRING_EQUAL(Jacobian_compute_method_string,
 		      "symbolic differentiation"))
    then return Jacobian__symbolic_diff;
-else	CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
+else	CCTK_VError(__LINE__, __FILE__, CCTK_THORNSTRING,
 "\n"
 "   decode_Jacobian_compute_method():\n"
 "        unknown Jacobian_compute_method_string=\"%s\"!",
@@ -95,9 +95,9 @@
 	return "g_ij not positive definite!";
 	break;
 default:
-	CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
-		   "expansion_status_string(): unknown status=(int)%d!",
-		   status);					/*NOTREACHED*/
+	CCTK_VError(__LINE__, __FILE__, CCTK_THORNSTRING,
+		    "expansion_status_string(): unknown status=(int)%d!",
+		    status);					/*NOTREACHED*/
 	}
 }
 



More information about the Commits mailing list