|
Revision 2335, 1.1 kB
(checked in by gary, 5 months ago)
|
|
parse_commands.cpp - fix typo in comment, clean up other comments
grid_line_ratios.in - change name to func_grid_line_ratios.in to follow name convention
*.in - improve comments - no change in commands themselves
NB - did not change grains_hot.in - it includes the no qheat option which should be removed. throws an assert if quantum heating is allowed
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | title test impact of setting ionization |
|---|
| 2 | c |
|---|
| 3 | c commands for density & abundances ========= |
|---|
| 4 | init "ism.ini" |
|---|
| 5 | hden 0 |
|---|
| 6 | element hydrogen ionization 0 1 |
|---|
| 7 | element helium ionization 0 1 0 |
|---|
| 8 | element carbon ionization 0 1 |
|---|
| 9 | element oxygen ionization 0 0.1 0.2 0.3 0.2 0.1 0.1 |
|---|
| 10 | c |
|---|
| 11 | c commands controlling continuum ========= |
|---|
| 12 | blackbody 5 |
|---|
| 13 | ionization parameter -2 |
|---|
| 14 | c |
|---|
| 15 | c commands controlling geometry ========= |
|---|
| 16 | c force model to be 1 cm thick |
|---|
| 17 | set dr 0 |
|---|
| 18 | c |
|---|
| 19 | c other commands for details ========= |
|---|
| 20 | constant temperature 4 |
|---|
| 21 | stop zone 1 |
|---|
| 22 | c |
|---|
| 23 | c commands controlling output ========= |
|---|
| 24 | normalize to "O 3" 5007 |
|---|
| 25 | punch asserts "func_set_ion.asr" |
|---|
| 26 | punch dr "func_set_ion.dr" |
|---|
| 27 | c |
|---|
| 28 | c commands giving the asserts ========= |
|---|
| 29 | assert ionization fraction helium 2 0 |
|---|
| 30 | assert ionization fraction carbon 2 0 |
|---|
| 31 | assert ionization fraction oxygen 2 0.1 |
|---|
| 32 | assert ionization fraction oxygen 3 0.2 |
|---|
| 33 | assert ionization fraction oxygen 4 0.3 |
|---|
| 34 | assert ionization fraction oxygen 5 0.2 |
|---|
| 35 | assert ionization fraction oxygen 6 0.1 |
|---|
| 36 | assert ionization fraction oxygen 7 0.1 |
|---|
| 37 | c |
|---|
| 38 | c func_set_ion.in |
|---|
| 39 | |
|---|
| 40 | c class function |
|---|
| 41 | c ======================================== |
|---|
| 42 | c |
|---|
| 43 | |
|---|
| 44 | this script exercies the option to specify the ionization of a species |
|---|