File tree Expand file tree Collapse file tree 11 files changed +71
-4
lines changed
Expand file tree Collapse file tree 11 files changed +71
-4
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ def pretty_category(path):
4646 return f"CONDUCTIVITY_DIR={ subdir } "
4747 if path .startswith ("integration/" ):
4848 return f"INTEGRATOR_DIR={ subdir } "
49+ if path .startswith ("opacity/" ):
50+ return f"OPACITY_DIR={ subdir } "
4951 return path
5052
5153
@@ -65,9 +67,9 @@ def make_rest_table(param_files):
6567
6668 # open the file
6769 try :
68- f = open (pf , "r" )
69- except IOError :
70- sys .exit ("ERROR: {} does not exist" . format ( pf ) )
70+ f = open (pf )
71+ except OSError :
72+ sys .exit (f "ERROR: { pf } does not exist" )
7173
7274 descr = r""
7375
Original file line number Diff line number Diff line change 11@namespace: eos
22
3+ # ratio of specific heats
34eos_gamma real 5.e0/3.e0
4- eos_assume_neutral bool 1
5+
6+ # when computing mu / Abar, do we assume that the composition is atoms
7+ # or ionized, and therefore include the electron contributions
8+ # separately?
9+ eos_assume_neutral bool 1
Original file line number Diff line number Diff line change 11@namespace: eos
22
3+ # default ratio of specific heats used for all components unless specified
4+ # explicitly as species a, b, or c
35eos_gamma_default real 1.4
46
7+ # name of species "a"
58species_a_name string ""
9+
10+ # ratio of specific heats for species "a"
611species_a_gamma real 1.4
712
13+ # name of species "b"
814species_b_name string ""
15+
16+ # ratio of specific heats for species "b"
917species_b_gamma real 1.4
1018
19+ # name of species "c"
1120species_c_name string ""
21+
22+ # ratio of specific heats for species "c"
1223species_c_gamma real 1.4
1324
1425
Original file line number Diff line number Diff line change 11@namespace: eos
22
3+ # polytrope type: 1 is non-relativistic, fully degenerate electron
4+ # gas; 2 is fully-relativistic, fully degenerate gas. If these are
5+ # set, then only pulytrope_mu_e needs to be set.
36polytrope_type int 0
7+
8+ # density exponent for pressure, P = K rho**gamma
49polytrope_gamma real 0.0e0
10+
11+ # proportionality constant in EOS, P = K rho**gamma
512polytrope_K real 0.0e0
13+
14+ # mean molecular weight per electron for the cases when polytrope_type
15+ # is 1 or 2. In that case, we have P = K (rho / mu_e)**gamma
616polytrope_mu_e real 2.0e0
717
Original file line number Diff line number Diff line change 11@namespace: eos
22
3+ # specific heat proportionality constant, K, c_v = K rho**m T**(-n)
34eos_const_c_v real -1.e0
5+
6+ # specific heat density exponent, m, c_v = K rho**m T**(-n)
47eos_c_v_exp_m real 0.e0
8+
9+ # specific heat (negative) temperature exponent, n, c_v = K rho**m T**(-n)
510eos_c_v_exp_n real 0.e0
Original file line number Diff line number Diff line change 11@namespace: eos
22
33eos_la real 0.5
4+
45eos_lb real 1.3
6+
7+ # minimum energy
58eos_e_0 real 1.6e11
9+
10+ # reference density
611eos_rho_0 real 2.7
12+
13+
714eos_A real 1.8e11
15+
816eos_B real 1.8e11
17+
918eos_e_s real 3.5e10
19+
1020eos_e_s_prime real 1.8e11
21+
1122eos_alpha real 5.0
23+
1224eos_beta real 5.0
25+
26+ # specific heat
1327eos_c_v real 7.9e6
Original file line number Diff line number Diff line change 11@namespace: conductivity
22
3+ # constant value of the conductivity, in erg/s/cm/K
34const_conductivity real 1.0e0
45
56
Original file line number Diff line number Diff line change 11@namespace: conductivity
22
3+ # opacity value, in units of cm**2/g
34const_opacity real 7.0e-2
45
56
Original file line number Diff line number Diff line change 11@namespace: conductivity
22
3+ # proportionality constant, C, in k = C T**m
34cond_coeff real 1.0
5+
6+ # temperature exponent, m, in k = C T**m
47cond_exponent real 1.0
58
69
Original file line number Diff line number Diff line change @@ -21,10 +21,17 @@ burner_verbose bool 0
2121
2222# Tolerances for the solver (relative and absolute), for the
2323# species and energy equations.
24+
25+ # relative tolerance for species
2426rtol_spec real 1.e-12
27+
28+ # relative tolerance for energy
2529rtol_enuc real 1.e-6
2630
31+ # absolute tolerance for species
2732atol_spec real 1.e-8
33+
34+ # absolute tolerance for energy
2835atol_enuc real 1.e-6
2936
3037# Whether to renormalize the mass fractions at each step in the evolution
@@ -69,10 +76,17 @@ retry_swap_jacobian bool 1
6976# Tolerances for the solver (relative and absolute), for the
7077# species and energy equations. If set to < 0, then the same
7178# value as the first attempt is used.
79+
80+ # relative tolerance for species on retry
7281retry_rtol_spec real -1
82+
83+ # relative tolerance for energy on retry
7384retry_rtol_enuc real -1
7485
86+ # absolute tolerance for species on retry
7587retry_atol_spec real -1
88+
89+ # absolute tolerance for energy on retry
7690retry_atol_enuc real -1
7791
7892# in the clean_state process, do we clip the species such that they
You can’t perform that action at this time.
0 commit comments