| 1 | title test model where ionization increases with depth |
|---|
| 2 | c |
|---|
| 3 | c commands controlling continuum ========= |
|---|
| 4 | ionization parameter -4 |
|---|
| 5 | table agn |
|---|
| 6 | c |
|---|
| 7 | c commands for density & abundances ========= |
|---|
| 8 | hden 7 -4 |
|---|
| 9 | init "hheonly.ini" |
|---|
| 10 | element oxygen on |
|---|
| 11 | element iron on |
|---|
| 12 | c |
|---|
| 13 | c commands controlling geometry ========= |
|---|
| 14 | sphere |
|---|
| 15 | filling factor -5 |
|---|
| 16 | radius 17 20 |
|---|
| 17 | c |
|---|
| 18 | c other commands for details ========= |
|---|
| 19 | constant temperature 4 |
|---|
| 20 | c |
|---|
| 21 | c commands controlling output ========= |
|---|
| 22 | punch dr "func_ion_increase.dr" |
|---|
| 23 | punch overveiw "func_ion_increase.ovr" |
|---|
| 24 | punch element oxygen "func_ion_increase.oxy" |
|---|
| 25 | punch element iron "func_ion_increase.fe" |
|---|
| 26 | punch asserts "func_ion_increase.asr" |
|---|
| 27 | c |
|---|
| 28 | c commands giving the asserts ========= |
|---|
| 29 | // >>chng 04 jun 01, from -4.533 to -4.306, unified calc of Lya line width |
|---|
| 30 | // >>chng 05 sep 27, from -4.306 to -4.553, TE, GS update H chem |
|---|
| 31 | // >>chng 06 aug 09, from -4.553 to -4.597 Meudon 06, Bowen change |
|---|
| 32 | assert volumn ionization Iron 1 -4.597 |
|---|
| 33 | // |
|---|
| 34 | // >>chng 05 sep 27, from -0.898 to -0.880, TE, GS update H chem |
|---|
| 35 | // >>chng 06 aug 09, from -0.880 to -0.913 Meudon 06, Bowen change |
|---|
| 36 | // >>chng 08 sep 22, from -0.913 to -0.9443, remove Ali et al. DR guess |
|---|
| 37 | assert volumn ionization iron 2 -0.9443 |
|---|
| 38 | // |
|---|
| 39 | // >>chng 08 apr 30, from -0.411 to -0.432 H, He topoff change |
|---|
| 40 | assert volumn ionization iron 3 -0.432 |
|---|
| 41 | // |
|---|
| 42 | // >>chng 06 aug 09, from -0.594 to -0.566 Meudon 06, Bowen change |
|---|
| 43 | assert volumn ionization iron 4 -0.566 |
|---|
| 44 | // |
|---|
| 45 | // >>chng 06 feb 03, from -0.991 to -0.961, guess dr to Badnell mean |
|---|
| 46 | // >>chng 06 aug 09, from -0.961 to -0.933 Meudon 06, Bowen change |
|---|
| 47 | // >>chng 08 sep 22, from -0.933 to -0.9007, remove Ali et al. DR guess |
|---|
| 48 | assert volumn ionization iron 5 -0.9007 |
|---|
| 49 | // |
|---|
| 50 | // >>chng 04 sep 06, from -1.271 to -1.297 bug nej Auger |
|---|
| 51 | // >>chng 06 feb 03, from -1.297 to -1.237, guess dr to Badnell mean |
|---|
| 52 | // >>chng 06 nov 29, from -1.237 to -1.203, Badnell DR turned on |
|---|
| 53 | // >>chng 07 apr 30, from -1.203 to -1.169, log DR average, use mix S DR |
|---|
| 54 | assert volumn ionization iron 6 -1.169 |
|---|
| 55 | // |
|---|
| 56 | // >>chng 06 feb 03, from -1.451 to -1.600, guess dr to Badnell mean |
|---|
| 57 | // >>chng 06 nov 29, from -1.600 to -1.474, Badnell DR turned on |
|---|
| 58 | assert volumn ionization iron 7 -1.474 |
|---|
| 59 | // |
|---|
| 60 | // >>chng 06 feb 03, from -1.690 to -1.914, guess dr to Badnell mean |
|---|
| 61 | // >>chng 06 jul 12, from -1.914 to -1.945, use Savin & Gu DR to make mean DR |
|---|
| 62 | // >>chng 06 nov 24, from -1.945 to -1.975, turn on Badnell RR |
|---|
| 63 | // >>chng 06 nov 29, from -1.975 to -1.909, Badnell DR turned on |
|---|
| 64 | assert volumn ionization iron 8 -1.909 |
|---|
| 65 | // |
|---|
| 66 | // >>chng 06 feb 03, from -1.988 to -2.009, guess dr to Badnell mean |
|---|
| 67 | // >>chng 06 aug 17, from -2.009 to -1.981, update to Badnell dr |
|---|
| 68 | // >>chng 06 nov 24, from -1.981 to -1.936, turn on Badnell RR |
|---|
| 69 | // >>chng 06 nov 29, from -1.939 to -2.645, Badnell DR turned on |
|---|
| 70 | // >>chng 07 jan 20, from -2.645 to -2.665, e2 bug |
|---|
| 71 | // >>chng 08 sep 25, from -2.665 to -2.604, remove damper on line pump (r2367) |
|---|
| 72 | assert volumn ionization iron 9 -2.604 |
|---|
| 73 | // |
|---|
| 74 | // >>chng 06 feb 03, from -2.433 to -2.518, guess dr to Badnell mean |
|---|
| 75 | // >>chng 06 jul 12, from -2.518 to -2.478, use Savin & Gu DR to make mean DR |
|---|
| 76 | // >>chng 06 aug 17, from -2.478 to -2.572, update to Badnell dr |
|---|
| 77 | // >>chng 06 nov 24, from -2.572 to -2.539, turn on Badnell RR |
|---|
| 78 | // >>chng 06 nov 26, from -2.539 to -2.571, use Gu et al. UTA data |
|---|
| 79 | // >>chng 06 nov 29, from -2.571 to -3.159, Badnell DR turned on |
|---|
| 80 | // >>chng 07 jan 20, from -3.159 to -3.226, e2 bug |
|---|
| 81 | // >>chng 07 jan 25, from -3.226 to -3.180, use only Gu UTA data file |
|---|
| 82 | // >>chng 07 apr 30, from -3.180 to -3.202, log DR average, use mix S DR |
|---|
| 83 | // >>chng 08 apr 20, incr error to more realistic 10% |
|---|
| 84 | // >>chng 08 sep 25, from -3.202 to -3.014, remove damper on line pump (r2367) |
|---|
| 85 | assert volumn ionization iron 10 -3.014 error 0.1 |
|---|
| 86 | // |
|---|
| 87 | // >>chng 05 sep 27, from -2.701 to -2.718, TE, GS update H chem |
|---|
| 88 | // >>chng 06 feb 03, from -2.718 to -2.971, guess dr to Badnell mean |
|---|
| 89 | // >>chng 06 jul 12, from -2.971 to -2.946, use Savin & Gu DR to make mean DR |
|---|
| 90 | // >>chng 06 aug 17, from -2.946 to -3.011, update to Badnell dr |
|---|
| 91 | // >>chng 06 nov 24, from -3.011 to -2.988, turn on Badnell RR |
|---|
| 92 | // >>chng 06 nov 26, from -2.988 to -3.028, use Gu et al. UTA data |
|---|
| 93 | // >>chng 06 nov 29, from -3.028 to -3.549, Badnell DR turned on |
|---|
| 94 | // >>chng 07 jan 20, from -3.549 to -3.623, e2 bug |
|---|
| 95 | // >>chng 07 jan 23, from -3.623 to -3.657, update Gu UTA data file, inc err |
|---|
| 96 | // >>chng 08 sep 25, from -3.657 to -3.468, remove damper on line pump (r2367) |
|---|
| 97 | assert volumn ionization iron 11 -3.468 error 0.1 |
|---|
| 98 | // |
|---|
| 99 | // >>chng 05 sep 27, from -2.949 to -2.966, TE, GS update H chem |
|---|
| 100 | // >>chng 06 feb 03, from -2.966 to -3.147, guess dr to Badnell mean |
|---|
| 101 | // >>chng 06 jul 12, from -3.147 to -3.298, use Savin & Gu DR to make mean DR |
|---|
| 102 | // >>chng 06 aug 17, from -3.298 to -3.273, update to Badnell dr |
|---|
| 103 | // >>chng 06 nov 24, from -3.273 to -3.250, turn on Badnell RR |
|---|
| 104 | // >>chng 06 nov 26, from -3.250 to -3.203, use Gu et al. UTA data |
|---|
| 105 | // >>chng 06 nov 29, from -3.203 to -3.865, Badnell DR turned on |
|---|
| 106 | // >>chng 07 jan 20, from -3.865 to -3.914, e2 bug |
|---|
| 107 | // >>chng 07 jan 23, from -3.914 to -4.081, update Gu UTA data file, inc err |
|---|
| 108 | // >>chng 08 sep 25, from -4.081 to -3.97, remove damper on line pump (r2367) |
|---|
| 109 | assert volumn ionization iron 12 -3.97 error 0.1 |
|---|
| 110 | // |
|---|
| 111 | // >>chng 05 mar 03, from -3.190 to -3.223, romas update uta data |
|---|
| 112 | // >>chng 06 feb 03, from -3.223 to -3.258, guess dr to Badnell mean |
|---|
| 113 | // >>chng 06 jul 12, from -3.258 to -3.449, use Savin & Gu DR to make mean DR |
|---|
| 114 | // >>chng 06 Aug 10, from -3.449 to -3.478, update to Badnell RR DR for Fe+13 |
|---|
| 115 | // >>chng 06 aug 17, from -3.478 to -3.575, update to Badnell dr |
|---|
| 116 | // >>chng 06 nov 24, from -3.575 to -3.550, turn on Badnell RR |
|---|
| 117 | // >>chng 06 nov 26, from -3.550 to -3.308, use Gu et al. UTA data |
|---|
| 118 | // >>chng 06 nov 29, from -3.308 to -4.293, Badnell DR turned on |
|---|
| 119 | // >>chng 07 jan 20, from -4.293 to -4.314, e2 bug |
|---|
| 120 | // >>chng 07 jan 23, from -4.314 to -4.695, update Gu UTA data file, inc err |
|---|
| 121 | // >>chng 08 sep 25, from -4.695 to -4.651, remove damper on line pump (r2367) |
|---|
| 122 | assert volumn ionization iron 13 -4.651 error 0.1 |
|---|
| 123 | // |
|---|
| 124 | // >>chng 04 sep 06, from -3.497 to -3.539 bug nej Auger |
|---|
| 125 | // >>chng 05 mar 03, from -3.539 to -3.573, romas update uta data |
|---|
| 126 | // >>chng 06 feb 03, from -3.573 to -3.524, guess dr to Badnell mean |
|---|
| 127 | // >>chng 06 jul 12, from -3.524 to -3.892, use Savin & Gu DR to make mean DR |
|---|
| 128 | // >>chng 06 Aug 10, from -3.892 to -3.818, update to Badnell RR DR for Fe+13 |
|---|
| 129 | // >>chng 06 aug 17, from -3.818 to -3.851, update to Badnell dr |
|---|
| 130 | // >>chng 06 nov 24, from -3.851 to -3.808, turn on Badnell RR |
|---|
| 131 | // >>chng 06 nov 26, from -3.808 to -3.492, use Gu et al. UTA data |
|---|
| 132 | // >>chng 06 nov 29, from -3.492 to -4.731, Badnell DR turned on |
|---|
| 133 | // >>chng 07 jan 23, from -4.731 to -5.165, update Gu UTA data file, inc err |
|---|
| 134 | // >>chng 07 jan 25, from -5.165 to -5.103, use only Gu UTA data file |
|---|
| 135 | // >>chng 08 sep 25, from -5.103 to -5.061, remove damper on line pump (r2367) |
|---|
| 136 | assert volumn ionization iron 14 -5.061 error 0.1 |
|---|
| 137 | // |
|---|
| 138 | // >>chng 04 sep 06, from -3.448 to -3.491 bug nej Auger |
|---|
| 139 | // >>chng 05 mar 03, from -3.491 to -3.464, romas update uta data |
|---|
| 140 | // >>chng 06 feb 03, from -3.464 to -3.584, guess dr to Badnell mean |
|---|
| 141 | // >>chng 06 jul 12, from -3.584 to -3.807, use Savin & Gu DR to make mean DR |
|---|
| 142 | // >>chng 06 Aug 10, from -3.807 to -3.769, update to Badnell RR DR for Fe+13 |
|---|
| 143 | // >>chng 06 aug 17, from -3.769 to -3.803, update to Badnell dr |
|---|
| 144 | // >>chng 06 nov 24, from -3.803 to -3.772, turn on Badnell RR |
|---|
| 145 | // >>chng 06 nov 26, from -3.772 to -3.573, use Gu et al. UTA data |
|---|
| 146 | // >>chng 06 nov 29, from -3.573 to -4.602, Badnell DR turned on |
|---|
| 147 | // >>chng 07 jan 23, from -4.602 to -4.936, update Gu UTA data file, inc err |
|---|
| 148 | // >>chng 07 jan 25, from -4.936 to -5.062, use only Gu UTA data file |
|---|
| 149 | // >>chng 07 oct 26, from -5.062 to -5.104, very close to botch after recent changes |
|---|
| 150 | assert volumn ionization iron 15 -5.104 error 0.1 |
|---|
| 151 | // |
|---|
| 152 | // >>chng 04 sep 06, from -3.751 to -3.833 bug nej Auger |
|---|
| 153 | // >>chng 05 mar 03, from -3.833 to -3.820, romas update uta data |
|---|
| 154 | // >>chng 06 feb 03, from -3.820 to -3.790, guess dr to Badnell mean |
|---|
| 155 | // >>chng 06 jul 12, from -3.790 to -3.955, use Savin & Gu DR to make mean DR |
|---|
| 156 | // >>chng 06 Aug 10, from -3.955 to -3.921, update to Badnell RR DR for Fe+13 |
|---|
| 157 | // >>chng 06 aug 17, from -3.921 to -3.943, update to Badnell dr |
|---|
| 158 | // >>chng 06 nov 24, from -3.943 to -3.897, turn on Badnell RR |
|---|
| 159 | // >>chng 06 nov 26, from -3.897 to -3.751, use Gu et al. UTA data |
|---|
| 160 | // >>chng 06 nov 29, from -3.751 to -4.018, Badnell DR turned on |
|---|
| 161 | // >>chng 07 jan 20, from -4.018 to -3.996, e2 bug |
|---|
| 162 | // >>chng 07 jan 23, from -3.996 to -3.976, update Gu UTA data file, inc err |
|---|
| 163 | // >>chng 07 apr 30, from -3.976 to -3.924, log DR average, use mix S DR |
|---|
| 164 | // >>chng 08 sep 22, from -3.924 to -3.981, remove Ali et al. DR guess |
|---|
| 165 | // >>chng 08 sep 25, from -3.981 to -4.521, remove damper on line pump (r2367) |
|---|
| 166 | assert volumn ionization iron 16 -4.521 error 0.1 |
|---|
| 167 | // |
|---|
| 168 | // >>chng 04 sep 06, from -3.368 to -3.511 bug nej Auger |
|---|
| 169 | // >>chng 05 mar 03, from -3.511 to -3.454, romas update uta data |
|---|
| 170 | // >>chng 06 feb 03, from -3.454 to -3.429, guess dr to Badnell mean |
|---|
| 171 | // >>chng 06 jul 12, from -3.429 to -3.468, use Savin & Gu DR to make mean DR |
|---|
| 172 | // >>chng 06 nov 26, from -3.468 to -3.414, use Gu et al. UTA data |
|---|
| 173 | // >>chng 06 nov 29, from -3.414 to -3.378, Badnell DR turned on |
|---|
| 174 | // >>chng 07 jan 23, from -3.378 to -3.500, update Gu UTA data file, inc err |
|---|
| 175 | // >>chng 07 apr 30, from -3.500 to -3.444, log DR average, use mix S DR |
|---|
| 176 | // >>chng 07 dec 06, from -3.444 to -3.491, changes in h-like collisions |
|---|
| 177 | // >>chng 08 feb 20, from -3.491 to -3.443, grain charge transfer changes in ion_solver and iso* |
|---|
| 178 | // >>chng 08 mar 17, from -3.443 to -3.490, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes |
|---|
| 179 | // >>chng 08 mar 20, from -3.490 to -3.467, dbl precision gets diff answer, take average, widen err |
|---|
| 180 | // >>chng 08 sep 25, from -3.467 to -4.074, remove damper on line pump (r2367) |
|---|
| 181 | assert volumn ionization iron 17 -4.074 error 0.15 |
|---|
| 182 | // |
|---|
| 183 | // >>chng 04 sep 06, from -3.844 to -3.962 bug nej Auger |
|---|
| 184 | // >>chng 05 mar 03, from -3.962 to -3.916, romas update uta data |
|---|
| 185 | // >>chng 06 feb 03, from -3.916 to -4.323, guess dr to Badnell mean |
|---|
| 186 | // >>chng 06 jul 12, from -4.323 to -4.391, use Savin & Gu DR to make mean DR |
|---|
| 187 | // >>chng 06 nov 29, from -4.391 to -4.171, Badnell DR turned on |
|---|
| 188 | // >>chng 07 jan 20, from -4.171 to -4.131, e2 bug |
|---|
| 189 | // >>chng 07 jan 23, from -4.131 to -4.301, update Gu UTA data file, inc err |
|---|
| 190 | // >>chng 07 jan 25, from -4.301 to -4.258, use only Gu UTA data file |
|---|
| 191 | // >>chng 07 apr 30, from -4.258 to -4.214, log DR average, use mix S DR |
|---|
| 192 | // >>chng 07 dec 06, from -4.214 to -4.270, changes in h-like collisions |
|---|
| 193 | // >>chng 08 feb 20, from -4.270 to -4.213, grain charge transfer changes in ion_solver and iso* |
|---|
| 194 | // >>chng 08 mar 17, from -4.213 to -4.270, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes |
|---|
| 195 | // >>chng 08 mar 20, from -4.270 to -4.240, dbl precision gets diff answer, take average, widen err |
|---|
| 196 | // >>chng 08 sep 25, from -4.24 to -4.429, remove damper on line pump (r2367) |
|---|
| 197 | assert volumn ionization iron 18 -4.429 error 0.15 |
|---|
| 198 | // |
|---|
| 199 | // >>chng 04 sep 06, from -4.524 to -4.626 bug nej Auger |
|---|
| 200 | // >>chng 05 mar 03, from -4.626 to -5.097, romas update uta data |
|---|
| 201 | // >>chng 06 jul 12, from -5.097 to -5.141, use Savin & Gu DR to make mean DR |
|---|
| 202 | // >>chng 06 nov 26, from -5.141 to -5.100, use Gu et al. UTA data |
|---|
| 203 | // >>chng 06 nov 29, from -1.237 to -1.203, Badnell DR turned on |
|---|
| 204 | // >>chng 07 jan 23, from -3.623 to -3.163, update Gu UTA data file, inc err |
|---|
| 205 | // >>chng 06 nov 26 do not assert this minor species |
|---|
| 206 | // >>chng 06 nov 29, from -5.100 to -5.100, Badnell DR turned on |
|---|
| 207 | // >>chng 06 nov 29, from -5.100 to -3.958, Badnell DR turned on |
|---|
| 208 | // >>chng 07 jan 20, from -3.958 to -3.917, e2 bug |
|---|
| 209 | // >>chng 07 jan 23, from -3.917 to -3.968, update Gu UTA data file, inc err |
|---|
| 210 | // >>chng 08 sep 25, from -3.968 to -5.049, remove damper on line pump (r2367) |
|---|
| 211 | assert volumn ionization iron 19 -5.049 error 0.1 |
|---|
| 212 | // |
|---|
| 213 | // >>chng 04 mar 04, from -5.480 to -5.504, inpr conv error, incr error |
|---|
| 214 | // >>chng 04 sep 06, from -5.504 to -5.599 bug nej Auger |
|---|
| 215 | // >>chng 05 mar 03, from -5.599 to -5.560, romas update uta data |
|---|
| 216 | // >>chng 06 feb 03, from -5.560 to -6.125, guess dr to Badnell mean |
|---|
| 217 | // >>chng 06 nov 29, from -6.13 to -3.98, Badnell DR turned on |
|---|
| 218 | // >>chng 07 jan 20, from -3.98 to -3.94, e2 bug |
|---|
| 219 | // >>chng 07 jan 23, from -3.94 to -4.01 update Gu UTA data file, inc err |
|---|
| 220 | // >>chng 08 sep 25, remove: only trace amount left after r2367 |
|---|
| 221 | // assert volumn ionization iron 20 -6.35 error 0.1 |
|---|
| 222 | // |
|---|
| 223 | // >>chng 03 dec 08, from -6.717 to -6.692, chng ots, zones |
|---|
| 224 | // >>chng 04 feb 09, from -6.692 to -6.724, chng Auger in ion_solver, incr err |
|---|
| 225 | // >>chng 04 sep 06, from -6.724 to -6.894 bug nej Auger |
|---|
| 226 | // >>chng 05 mar 03, from -6.894 to -6.855, romas update uta data |
|---|
| 227 | // >>chng 06 feb 03, from -6.855 to -7.24, guess dr to Badnell mean |
|---|
| 228 | // >>chng 06 nov 29, from -7.24 to -4.06, Badnell DR turned on |
|---|
| 229 | // >>chng 07 jan 20, from -4.06 to -3.95, e2 bug |
|---|
| 230 | // >>chng 07 jan 23, from -3.95 to -4.02, update Gu UTA data file, inc err |
|---|
| 231 | // >>chng 08 sep 25, remove: only trace amount left after r2367 |
|---|
| 232 | // assert volumn ionization iron 21 -7.739 error 0.1 |
|---|
| 233 | // |
|---|
| 234 | // >>chng 03 dec 08, from -8.006 to -7.962, chng ots, zones |
|---|
| 235 | // >>chng 04 feb 09, from -7.962 to -7.999, chng Auger in ion_solver, incr err |
|---|
| 236 | // >>chng 04 sep 06, from -7.999 to -8.286 bug nej Auger |
|---|
| 237 | // >>chng 05 mar 03, from -8.286 to -8.247, romas update uta data |
|---|
| 238 | // >>chng 06 feb 03, from -8.247 to -8.88, guess dr to Badnell mean |
|---|
| 239 | // >>chng 06 apr 09, rm since only for for 6 zones - result depends on |
|---|
| 240 | // zoning - there is essentially no Fe 22 in sim |
|---|
| 241 | // assert volumn ionization iron 22 -8.88 error 0.1 |
|---|
| 242 | c |
|---|
| 243 | c func_ion_increase.in |
|---|
| 244 | c class function |
|---|
| 245 | c ======================================== |
|---|
| 246 | c |
|---|
| 247 | |
|---|
| 248 | This density falls off faster than 1/r^2 so the ionization increases |
|---|
| 249 | with depth. Most sims have decreasing rather than increasing ionization. |
|---|
| 250 | |
|---|
| 251 | |
|---|
| 252 | |
|---|