aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 4dcfe9093c092ed97047b65664bce95c2ddab2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Parameter definitions for thorn EOS_Omni


restricted:

# poly EOS
REAL poly_gamma "Adiabatic Index for poly EOS" STEERABLE=RECOVER
{
 : :: ""
} 2.0


REAL poly_gamma_initial "Initial Adiabatic Index for poly EOS" STEERABLE=RECOVER
{
 -1   :: "use poly_gamma, ie no change in gamma during ID"
 (0:* :: "assume that ID used this adiabiatic index, keep poly_k constant in cgs units"
} -1

REAL poly_k "Polytropic constant in c=G=Msun=1"  STEERABLE=RECOVER
{
 : :: ""
} 100.0

# gamma-law EOS
REAL gl_gamma "Adiabatic Index for gamma-law EOS" STEERABLE=RECOVER
{
 : :: ""
} 2.0

REAL gl_k "Polytropic constant in c=G=Msun=1 for gamma-law EOS" STEERABLE=RECOVER 
{
 : :: ""
} 100.0

# hybrid EOS
REAL hybrid_gamma1 "subnuclear adiabatic Index for hybrid EOS" STEERABLE=RECOVER
{
 : :: ""
} 1.325

REAL hybrid_gamma2 "subnuclear adiabatic Index for hybrid EOS" STEERABLE=RECOVER
{
 : :: ""
} 2.5

REAL hybrid_gamma_th "Thermal gamma for hybrid EOS" STEERABLE=RECOVER
{
 : :: ""
} 1.5

REAL hybrid_k1 "Polytropic constant in c=G=Msun=1 for hybrid EOS" STEERABLE=RECOVER 
{
 : :: ""
} 0.4640517

REAL hybrid_rho_nuc "Density at which to switch between gammas; c=G=Msun=1" STEERABLE=RECOVER 
{
 : :: ""
} 3.238607e-4

################ cold tabulated EOS + gamma-Law

STRING coldeos_table_name "table name for cold EOS (ASCII)" 
{
 .* :: "Can be anything"
} "blah.asc"

BOOLEAN coldeos_read_table "Read in cold EOS table?" 
{
} "No"

BOOLEAN coldeos_use_thermal_gamma_law "use an additional thermal gamma?"
{
} "Yes"

################ barotropic tabulated EOS + gamma-Law

STRING barotropiceos_table_name "table name for barotropic EOS (ASCII)" 
{
 .* :: "Can be anything"
} "blah.asc"

BOOLEAN barotropiceos_read_table "Read in barotropic EOS table?" 
{
} "No"

BOOLEAN barotropiceos_use_thermal_gamma_law "use an additional thermal gamma?"
{
} "Yes"

REAL barotropiceos_gammath "thermal gamma for barotropic EOS"
{
 1.0:* :: "something"
} 2.0

################ Finite-Temperature Nuclear EOS

BOOLEAN nuceos_read_table "Read in EOS table?" STEERABLE=RECOVER
{
} "No"

BOOLEAN do_energy_shift "shift energies around?" STEERABLE=ALWAYS
{
} "yes"

BOOLEAN dump_nuceos_table "Dump table in ASCII at beginning" STEERABLE=RECOVER
{
} "No"

STRING dump_nuceos_table_name "nuceos dump table name (ASCII)" STEERABLE=RECOVER
{
 .* :: "Can be anything"
} "blah.asc"

STRING nuceos_table_name "nuceos table name (hdf5)" STEERABLE=RECOVER
{
 .* :: "Can be anything"
} "blah.h5"

BOOLEAN read_table_on_single_process "read table on one process only and bcast data" STEERABLE=ALWAYS
{
} "no"

INT reader_process "read table on this process and bcast data" STEERABLE=ALWAYS
{
  0:* :: "read on process N"
} 0

shares: IO

USES STRING out_dir