From 8fbbe803f1a5eb3cb41a76a857eb1d9cb03f6314 Mon Sep 17 00:00:00 2001 From: cott Date: Sun, 6 Feb 2011 16:22:28 +0000 Subject: * update to hot c2p routine: allow for a failsafe mode that handles off-the-table issues with tabulated EOS. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@214 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45 --- param.ccl | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index e345e89..d957dbd 100644 --- a/param.ccl +++ b/param.ccl @@ -251,11 +251,23 @@ string GRHydro_eos_table "Name for the Equation of State" } "Ideal_Fluid" -real GRHydro_eos_rf_prec "Precision to which root finding should be carried out" +real GRHydro_eos_rf_prec "Precision to which root finding should be carried out" STEERABLE=ALWAYS { (0.0:* :: "anything larger than 0 goes" } 1.0e-8 +# cott@tapir.caltech.edu: +# The below parameter controls the handling of EOS_Omni keyerr=667 +# failures. In these failures, no new temperature can be found for the +# eps it was called with. This may happen, for example, when a strong +# shock appears for the first time. Code checking this parameter will, +# if it is set to true, locally inject heat to fix the problem. +# This normally happens only very rarely, but one must monitor total energy +# conservation to check that this does ruin energy conservation. +boolean GRHydro_eos_hot_eps_fix "Activate quasi-failsafe mode for hot EOSs" STEERABLE=ALWAYS +{ +} "no" + ####################### Other Parameters ############################## #Parameters controlling conservative <-> primitive change. @@ -279,12 +291,12 @@ real GRHydro_eps_min "Minimum value of internal energy - this is now only used i 0: :: "Positive" } 1.e-10 -real GRHydro_perc_ptol "Tolerance for primitive variable solve (percent)" +real GRHydro_perc_ptol "Tolerance for primitive variable solve (percent)" STEERABLE=ALWAYS { 0: :: "Do we really want both tolerances?" } 1.e-8 -real GRHydro_del_ptol "Tolerance for primitive variable solve (absolute)" +real GRHydro_del_ptol "Tolerance for primitive variable solve (absolute)" STEERABLE=ALWAYS { 0: :: "Do we really want both tolerances?" } 1.e-18 -- cgit v1.2.3