aboutsummaryrefslogtreecommitdiff
path: root/src/include/config.h
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-02-16 22:21:49 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-02-16 22:21:49 +0000
commitcc221a875a640142697df54a2bcff6638f7b1a88 (patch)
treea1477d8a3dd8b96d0dea7a2af4546556166389aa /src/include/config.h
parent04ed769ddfacb1d6f5faedb66d3ff8d512ede7d4 (diff)
* general tidying of multiprocessor code
* add current iteration number to what's sent to processor #0 for printing at each iteration * add a new verbosity level "algorithm debug" for what used to be #ifdef DEBUG debugging code * add new parameters & logic to set CCTK_Warn() levels for various warnings (eg AH is outside the gid, metric isn't +ve definite, etc) * restore the ability to output the horizon shape to a data file, which I mistakenly deleted a few days ago :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@947 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/include/config.h')
-rw-r--r--src/include/config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/config.h b/src/include/config.h
index a5334e9..e761015 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -32,6 +32,13 @@ typedef CCTK_INT integer;
* definitions for C++, C, and Fortran
*/
+/* CCTK_VWarn() "warning level" for fatal errors (terminate execution) */
+/* note low-level software uses error_exit() instead of CCTK_VWarn(), */
+/* with exit codes defined in "config.h" */
+#define FATAL_ERROR (-1)
+
+/**************************************/
+
/*
* FIXME: this assumes fp == C 'double'
* CCTK_REAL_PRECISION_{4,8,16} are helpful, but not quite enough)
@@ -76,7 +83,7 @@ typedef CCTK_INT integer;
/* store as row-oriented sparse matrix, solve with ILUCG */
#define HAVE_ROW_SPARSE_JACOBIAN__ILUCG
-/**************************************/
+/******************************************************************************/
/*
* The following #ifdefs and #defines shouldn't need changing; they