|
6 | 6 | # the current internal energy. This is done with an EOS call, which can
|
7 | 7 | # be turned off if desired. This will freeze the temperature and specific heat
|
8 | 8 | # to the values at the beginning of the burn, which is inaccurate but cheaper.
|
9 |
| -call_eos_in_rhs integer 1 |
| 9 | +call_eos_in_rhs bool 1 |
10 | 10 |
|
11 | 11 | # Allow the energy integration to be disabled by setting the RHS to zero.
|
12 |
| -integrate_energy integer 1 |
| 12 | +integrate_energy bool 1 |
13 | 13 |
|
14 | 14 | # Whether to use an analytical or numerical Jacobian.
|
15 | 15 | # 1 == Analytical
|
16 | 16 | # 2 == Numerical
|
17 |
| -# 3 == Numerical for reactions; analytic for primitive -> conserved (simplified-SDC only) |
18 |
| -jacobian integer 1 |
| 17 | +jacobian int 1 |
19 | 18 |
|
20 | 19 | # Should we print out diagnostic output after the solve?
|
21 |
| -burner_verbose integer 0 |
| 20 | +burner_verbose bool 0 |
22 | 21 |
|
23 | 22 | # Tolerances for the solver (relative and absolute), for the
|
24 | 23 | # species and energy equations.
|
25 |
| -rtol_spec real 1.d-12 |
26 |
| -rtol_enuc real 1.d-6 |
| 24 | +rtol_spec real 1.e-12 |
| 25 | +rtol_enuc real 1.e-6 |
27 | 26 |
|
28 |
| -atol_spec real 1.d-8 |
29 |
| -atol_enuc real 1.d-6 |
| 27 | +atol_spec real 1.e-8 |
| 28 | +atol_enuc real 1.e-6 |
30 | 29 |
|
31 | 30 | # Whether to renormalize the mass fractions at each step in the evolution
|
32 | 31 | # so that they sum to unity.
|
33 |
| -renormalize_abundances integer 0 |
| 32 | +renormalize_abundances bool 0 |
34 | 33 |
|
35 | 34 | # The absolute cutoff for species -- note that this might be larger
|
36 | 35 | # than ``small_x``, but the issue is that we need to prevent underflow
|
37 | 36 | # issues and keep mass fractions positive in the integrator. You may
|
38 |
| -# have to increase the floor to, e.g. 1.d-20 if your rates are large. |
39 |
| -SMALL_X_SAFE real 1.0d-30 |
| 37 | +# have to increase the floor to, e.g. 1.e-20 if your rates are large. |
| 38 | +SMALL_X_SAFE real 1.0e-30 |
40 | 39 |
|
41 | 40 | # The maximum temperature for reactions in the integration.
|
42 |
| -MAX_TEMP real 1.0d11 |
| 41 | +MAX_TEMP real 1.0e11 |
43 | 42 |
|
44 | 43 | # boost the reaction rates by a factor > 1
|
45 |
| -react_boost real -1.d0 |
| 44 | +react_boost real -1.e0 |
46 | 45 |
|
47 | 46 | # maximum number of timesteps for the integrator
|
48 |
| -ode_max_steps integer 150000 |
| 47 | +ode_max_steps int 150000 |
49 | 48 |
|
50 | 49 | # maximum timestep for the integrator
|
51 |
| -ode_max_dt real 1.d30 |
| 50 | +ode_max_dt real 1.e30 |
52 | 51 |
|
53 | 52 | # Whether to use Jacobian caching in VODE
|
54 |
| -use_jacobian_caching integer 1 |
| 53 | +use_jacobian_caching bool 1 |
55 | 54 |
|
56 | 55 | # Inputs for generating a Nonaka Plot (TM)
|
57 |
| -nonaka_i integer 0 |
58 |
| -nonaka_j integer 0 |
59 |
| -nonaka_k integer 0 |
60 |
| -nonaka_level integer 0 |
61 |
| -nonaka_file character "nonaka_plot.dat" |
| 56 | +nonaka_i int 0 |
| 57 | +nonaka_j int 0 |
| 58 | +nonaka_k int 0 |
| 59 | +nonaka_level int 0 |
| 60 | +nonaka_file string "nonaka_plot.dat" |
62 | 61 |
|
63 | 62 | # do we retry a failed burn with different parameters?
|
64 |
| -use_burn_retry integer 0 |
| 63 | +use_burn_retry bool 0 |
65 | 64 |
|
66 | 65 | # do we swap the Jacobian (from analytic to numerical or vice versa) on
|
67 | 66 | # a retry?
|
68 |
| -retry_swap_jacobian integer 1 |
| 67 | +retry_swap_jacobian bool 1 |
69 | 68 |
|
70 | 69 | # Tolerances for the solver (relative and absolute), for the
|
71 | 70 | # species and energy equations.
|
72 |
| -retry_rtol_spec real 1.d-12 |
73 |
| -retry_rtol_enuc real 1.d-6 |
| 71 | +retry_rtol_spec real 1.e-12 |
| 72 | +retry_rtol_enuc real 1.e-6 |
74 | 73 |
|
75 |
| -retry_atol_spec real 1.d-8 |
76 |
| -retry_atol_enuc real 1.d-6 |
| 74 | +retry_atol_spec real 1.e-8 |
| 75 | +retry_atol_enuc real 1.e-6 |
77 | 76 |
|
78 | 77 | # in the clean_state process, do we clip the species such that they
|
79 | 78 | # are in [0, 1]?
|
80 |
| -do_species_clip integer 1 |
| 79 | +do_species_clip bool 1 |
81 | 80 |
|
82 | 81 | # flag for turning on the use of number densities for all species
|
83 |
| -use_number_densities integer 0 |
| 82 | +use_number_densities bool 0 |
84 | 83 |
|
85 | 84 | # flag for tuning on the subtraction of internal energy
|
86 |
| -subtract_internal_energy integer 1 |
| 85 | +subtract_internal_energy bool 1 |
87 | 86 |
|
88 | 87 | # SDC iteration tolerance adjustment factor
|
89 |
| -sdc_burn_tol_factor real 1.d0 |
| 88 | +sdc_burn_tol_factor real 1.e0 |
90 | 89 |
|
91 | 90 | # do we scale the ODE system we integrate to make it O(1)?
|
92 | 91 | # for Strang, this simply means scaling e by the initial energy?
|
93 |
| -scale_system integer 0 |
| 92 | +scale_system bool 0 |
94 | 93 |
|
95 | 94 | # for the NSE update predictor-corrector, how many iterations
|
96 | 95 | # do we take to get the new time NSE state
|
97 |
| -nse_iters integer 3 |
| 96 | +nse_iters int 3 |
98 | 97 |
|
99 | 98 | # for SDC+NSE, when estimating the derivatives of the NSE table
|
100 | 99 | # quantities, what fraction of dt do we use for the finite-difference
|
101 | 100 | # estimate
|
102 | 101 | nse_deriv_dt_factor real 0.05
|
103 | 102 |
|
104 | 103 | # for NSE update, do we include the weak rate neutrino losses?
|
105 |
| -nse_include_enu_weak integer 1 |
| 104 | +nse_include_enu_weak bool 1 |
106 | 105 |
|
107 | 106 | # for the linear algebra, do we allow pivoting?
|
108 |
| -linalg_do_pivoting integer 1 |
| 107 | +linalg_do_pivoting bool 1 |
0 commit comments