From 02d65d88abd6e22da6ca35cec820e0cedc5da2af Mon Sep 17 00:00:00 2001 From: rhaas Date: Wed, 29 May 2013 16:35:04 +0000 Subject: GRHydro: add option to control action taken when con2prim failed From: Roland Haas git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@529 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45 --- param.ccl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index f48fa7a..b56d061 100644 --- a/param.ccl +++ b/param.ccl @@ -397,6 +397,12 @@ int GRHydro_c2p_warnlevel "Warnlevel for Con2Prim warnings" STEERABLE=ALWAYS 0:1 :: "Either 0 or 1" } 0 +keyword GRHydro_c2p_failed_action "what to do when we detect a c2p failure" +{ + "abort" :: "abort with error" + "terminate" :: "request termination" +} "abort" + REAL sqrtdet_thr "Threshold to apply cons rescalings deep inside the horizon" STEERABLE=ALWAYS { 1.0: :: "Larger values guarantees this sort of rescaling only deep inside the horizon" -- cgit v1.2.3