aboutsummaryrefslogtreecommitdiff
path: root/src/patch/test_patch_system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/patch/test_patch_system.cc')
-rw-r--r--src/patch/test_patch_system.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/patch/test_patch_system.cc b/src/patch/test_patch_system.cc
index 2f65378..3b3450b 100644
--- a/src/patch/test_patch_system.cc
+++ b/src/patch/test_patch_system.cc
@@ -150,13 +150,13 @@ DECLARE_CCTK_PARAMETERS
CCTK_VInfo(CCTK_THORNSTRING, "setting up interpatch interpolator");
const int interp_handle = CCTK_InterpHandle(interpatch_interpolator_name);
if (interp_handle < 0)
- then CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
+ then CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
"couldn't find interpolator \"%s\"!",
interpatch_interpolator_name); /*NOTREACHED*/
const int interp_par_table_handle
= Util_TableCreateFromString(interpatch_interpolator_pars);
if (interp_par_table_handle < 0)
- then CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
+ then CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
"bad interpatch-interpolator parameter(s) \"%s\"!",
interpatch_interpolator_pars); /*NOTREACHED*/
@@ -232,7 +232,7 @@ else if (STRING_EQUAL(which_test, "derivatives"))
ps.print_gridfn(nominal_error_gfn, "nominal_error.dat");
}
-else CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
+else CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
"unknown which_test=\"%s\"!",
which_test); /*NOTREACHED*/
@@ -316,7 +316,7 @@ setup_sym_fn_xyz(ps, NP_test_gfn, false);
FILE *fileptr = fopen(Jacobian_file_name, "w");
if (fileptr == NULL)
- then CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
+ then CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING,
"test_ghost_zone_Jacobians(): can't open output plot file \"%s\"!",
Jacobian_file_name); /*NOTREACHED*/
fprintf(fileptr, "# column 1 = x patch number\n");