diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-10-12 18:46:40 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-10-12 18:46:40 +0000 |
commit | 9b989e242ffb427900c6c1e49ccb3f4d9844f4b2 (patch) | |
tree | aa50326efaefc74b6b0e294ddf256e2c4bad7d43 /param.ccl | |
parent | 6b0b9d5e079eae24e330cc304742d4d1131e481c (diff) |
* expand NaN checks in gridfns to "is finite" checks
(also catchs +/-infinity)
* move final stage of calculation of LHS function H(h)
out of Maple-generated code (in src/gr.cg/) into hand-written code
in src/gr/horizon_function.c (comput_H()) so we can check that HD > 0
before taking its sqrt.
[HD <= 0 probably means the inerpolated g_ij
isn't positive definite]
* also systematize CCTK_VWarn() printing for various error conditions
in horizon_function.c
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@829 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'param.ccl')
-rw-r--r-- | param.ccl | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -504,15 +504,19 @@ real geometry__Schwarzschild_EF__Delta_xyz \ ######################################## -# these are pretty cheap tests to catch assorted wierdness, so it's -# probably worth leaving them on unless you're trying to squeeze every -# last nanosecond... -boolean check_h_for_NaNs \ - "should we check the horizon shape function h for NaNs?" +# +# These tests control whether we check that various angular gridfns +# are finite (neither NaN nor infinity) at various points in evaluating +# the H(h) function. These are pretty cheap tests, and they're quite +# useful in catching assorted wierdness, so it's probably worth leaving +# them enabled unless you're trying to squeeze every last nanosecond... +# +boolean check_that_h_is_finite \ + "should we check that horizon shape function h is finite?" { } "true" -boolean check_geometry_for_NaNs \ - "should we check the interpolated geometry variables for NaNs?" +boolean check_that_geometry_is_finite \ + "should we check the interpolated geometry variables are finite?" { } "true" |