Changeset 2335 for trunk/tsuite

Show
Ignore:
Timestamp:
08/17/08 07:50:08 (5 months ago)
Author:
gary
Message:

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

Location:
trunk/tsuite/auto
Files:
29 modified
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/tsuite/auto/agn_S_curve_grid.in

    r1990 r2335  
    44c this is the generic AGN continuum 
    55table agn 
    6 c the ionization parameter  
     6c the ionization parameter will be varied 
    77ionization parameter 0.00 vary 
    88grid from 0 to 3 in 0.25 dex steps 
     
    2828c line to make line list smaller 
    2929normalize to "totl" 1216 
    30 print line faint 10  
     30print line faint 10 will be varied 
     31c create file with list of grid parameters 
    3132punch grid "agn_S_curve_grid.grd" last 
     33c save average H+ temperature 
    3234punch average "agn_S_curve_grid.avr" last 
    3335temperature hydrogen 1  
    3436end of temperatures  
    3537punch asserts "agn_S_curve_grid.asr" 
     38c save heating and cooling 
    3639punch heating "agn_S_curve_grid.het" last 
    3740punch cooling "agn_S_curve_grid.col" last 
     
    4952c 
    5053 
    51 This is part of a series of models that check the temperature 
     54This computes a series of models that check the temperature 
    5255through the S curve in the Fields et al. three-phase model of 
    5356ISM stability. 
  • trunk/tsuite/auto/aperture_beam_lum.in

    r13 r2335  
    4040and when the calculation is complete, the program confirms that the "luminosity" 
    4141of the line is the emitting volume times 1e-10.  The aperture command 
    42 is verified by asserting that the emission line has the correct "luminosity". 
     42is verified by asserting that this emission line has the correct "luminosity". 
    4343 
    4444 
  • trunk/tsuite/auto/blr_kk81.in

    r2310 r2335  
    469469c  
    470470 
    471 This is the 34standard34 BLR model presented by Kwan and Krolik (1981). 
     471This is the "standard" BLR model presented by Kwan and Krolik (1981). 
    472472 
    473473>>refer blr     cloud   Kwan, J.,  & Krolik, J. 1981, ApJ, 250, 478 
    474474 
    475 Checks: 
     475Compare line intensities to previous versions of CLOUDY 
     476by entering into table on page Error! Bookmark not defined.. 
    476477 
    477 -       Compare line intensities to previous versions of CLOUDY 
    478         by entering into table on page Error! Bookmark not defined.. 
     478The code caution that the resulting total pressure was not constant 
     479is to be expected.  The KK calculation assumed constant gas pressure, 
     480but internally generature line radiation pressure is significant.   
     481Because of this the sum 
     482of gas plus radiation pressure was not constant although  
     483the gas pressure was.  
    479484 
    480 -       A code caution that the resulting total pressure was not constant 
    481         is to be expected.  The KK calculation assumed constant gas pressure, 
    482         but radiation pressure was significant.   Because of this the sum 
    483         of gas plus radiation pressure was not constant (but gas pressure was).  
    484  
  • trunk/tsuite/auto/blr_level2.in

    r1998 r2335  
    1 title test dominant blr_level2 lines 
     1title test dominant level2 lines 
    22c 
    33c commands controlling continuum ========= 
     
    248248c ======================================== 
    249249 
    250 This model checks predictions for the "blr_level2" lines.  These are 
     250This model checks predictions for the "level2" lines.  These are 
    251251lines that are normally very weak, have Opacity Project wavelengths, 
    252252and g-bar collision strengths.  Phosphorus is given a large abundance 
    253 so that its blr_level2 lines are significant. 
     253so that its level2 lines are significant. 
    254254 
  • trunk/tsuite/auto/coll_coronal.in

    r2314 r2335  
    44c temperature of corona 
    55coronal equilibrium, 2.5e6 K 
    6 c assume the sun is an Atlas atmosphere at 5700K 
    7 blackbody 5770 
     6c assume the sun is a blackbody at 5770K 
     7blackbody 5770 K 
    88luminosity solar linear 1  
    99c 
     
    297297 
    298298This is a rough model of the solar corona. 
    299 The test checks that the table star atlas and coronal equilibrium commands work. 
     299The test checks that the coronal equilibrium commands work. 
    300300The gas is predominantly collisionally ionized. 
    301301 
  • trunk/tsuite/auto/coll_heat_only.in

    r1822 r2335  
    9898 
    9999This test is an optically thin collisionally ionized gas with no 
    100 photoionization at all.  Before c9601 the code would not do the ionization 
    101 stage trimming correctly. Original bug caught by Ronnie Hoogerweft. 
     100photoionization at all.  
    102101 
    103102 
  • trunk/tsuite/auto/coll_t5.in

    r1935 r2335  
    198198 
    199199This is a test collisional ionization equilibrium 
    200 at 100000 K. 
     200at 1e5 K. 
  • trunk/tsuite/auto/coll_t7.in

    r1582 r2335  
    154154 
    155155Test with only collisional ionization at a 
    156 high gas high temperature.  
     156high temperature.  
  • trunk/tsuite/auto/doc_tsuite.pl

    r13 r2335  
    149149close(THTML); 
    150150 
    151 print "Created:$htests\n        $tests\n", ; 
     151print "The file $tests contains a list of the file names and titles.\n"; 
     152print "The file $htests has the formatted contents of each test case.\n"; 
    152153 
    153154 
     
    166167 
    167168 
    168  
  • trunk/tsuite/auto/dynamics_orion_flow.in

    r2181 r2335  
    132132c  
    133133 
    134 This is a model similar in spirit to the blister geometry HII region 
     134This is a model similar in spirit to the blister geometry H+ region 
    135135model computed by Baldwin et al. (1991), but with a D-critical flow. 
    136136Many physical processes have been disabled to make this simulationn faster. 
  • trunk/tsuite/auto/feii_hin.in

    r2314 r2335  
    77c commands for density & abundances ========= 
    88hden 18 
     9c force a high electron density to insure collisions dominate 
    910eden 18 
    1011c 
     
    3233This checks that, at high particle densitites, in which 
    3334the gas should be in collisional 
    34 equilibrium, the level populations of the model Fe+ ion 
     35equilibrium, the level populations of the large model Fe+ ion 
    3536go to the proper values, where the departure coefficients 
    3637are all equal to unity. 
  • trunk/tsuite/auto/feii_hirad.in

    r2314 r2335  
    3434This checks that, at high radiation densitites, in which 
    3535the gas is irradiated by a blackbody in strict thermodynamic 
    36 equilibrium, the level populations of the model Fe+ ion 
     36equilibrium, the level populations of the large model Fe+ ion 
    3737go to the proper values, where the departure coefficients 
    3838are all equal to unity. 
  • trunk/tsuite/auto/feii_ste.in

    r2314 r2335  
    3434This model has a very high iron abundance, 100x H, and most Fe is 
    3535in the form of Fe+. It is irradiated by a blackbody in strict 
    36 thermodynamic equilibrium.  The mode checks that the temperature 
     36thermodynamic equilibrium.  We check that the temperature 
    3737of the gas is equal to the radiation temperature, to confirm 
    3838that the thermal properties of the model FeII atom obey thermodynamics. 
  • trunk/tsuite/auto/func_abund_fluc.in

    r1092 r2335  
    1 title this runs the standard, one command, test, which contains many asserts 
     1title check fluctuating heavy-element abundances  
    22c commands controlling continuum ========= 
    33blackbody 5 
     
    3333c  
    3434 
    35 This checks that the variable abundances option still works 
     35This checks that the variable abundances option works 
    3636 
  • trunk/tsuite/auto/func_globule.in

    r2016 r2335  
    5656 
    5757 
    58 This model uses the globule command, and tests that the zoning logic 
     58This model uses the globule command, tests that the zoning logic 
    5959works for this extreme case, and that the code is able to converge 
    6060the globule model. 
  • trunk/tsuite/auto/func_grid_line_ratios.dat

  • trunk/tsuite/auto/func_grid_line_ratios.in

    r2107 r2335  
    2525c 
    2626c commands controlling output ===== 
    27 punch line list "grid_line_ratios.pun" "grid_line_ratios.dat" ratio no hash 
    28 punch grid "grid_line_ratios.grd" 
     27punch line list "func_grid_line_ratios.pun" "func_grid_line_ratios.dat" ratio no hash 
     28punch grid "func_grid_line_ratios.grd" 
    2929c 
    3030c commands giving (lack of) assert ========== 
    3131assert nothing 0  
    3232c 
    33 c grid_line_line_ratios.in 
     33c func_grid_line_line_ratios.in 
    3434c class function 
    3535c =================================================== 
  • trunk/tsuite/auto/func_hotgas_coolstar.in

    r2314 r2335  
    114114c  
    115115 
    116 This is a test where the continuum source is very soft,  
    117 and does not extend into energies where the 
     116This is a test where the CMB is the only continuum source. 
     117It does not extend to energies where the 
    118118code needs to work.  There are special cases  
    119119used in this situation, for continuum addressing, 
  • trunk/tsuite/auto/func_ion_increase.in

    r2016 r2335  
    231231c  
    232232 
    233 this model tests the case where the ionization increases with depth. 
    234 The density is a fast powerlaw to insure this. 
    235  
    236  
    237  
     233This density falls off faster than 1/r^2 so the ionization increases 
     234with depth.  Most sims have decreasing rather than increasing ionization. 
     235 
     236 
     237 
  • trunk/tsuite/auto/func_lines.in

    r888 r2335  
    3535The func_lines lines.dat gives atomic data for all the lines, and their 
    3636critical density at 10000 K. 
     37The large H2 and Fe II model atoms are turned on to include their lines.  
    3738 
  • trunk/tsuite/auto/func_map.in

    r1305 r2335  
    1717c 
    1818c commands controlling output    ========= 
    19 c change plot to punch to generate plot for hazy 
     19c save map information to generate plot for hazy 
    2020punch map file="func_map.dta" 
    2121set nmaps 100 
  • trunk/tsuite/auto/func_set_ion.in

    r241 r2335  
    4141c ======================================== 
    4242c  
     43  
    4344this script exercies the option to specify the ionization of a species 
  • trunk/tsuite/auto/func_stopline1.in

    r1532 r2335  
    1414c commands controlling geometry  ========= 
    1515c stop calc at line ratio, the point of this test  
    16 stop line "c  2" 157.6m reaches 0.0358  
     16stop line "C  2" 157.6m reaches 0.0358  
    1717c 
    1818c other commands for details     ========= 
     
    3232c  
    3333 
    34 this is an example of a simple calculation that stops when 
     34This is an example of a simple calculation that stops when 
    3535a line reaches a specified intensity. 
    3636The option to turn off elements with trivial abundances is used. 
  • trunk/tsuite/auto/func_stopline2.in

    r1489 r2335  
    1212c commands controlling geometry  ========= 
    1313c stop calc at line ratio, the point of this test  
    14 stop line "c  2" 157.6m reaches 0.002 relative to "o  3" 5007  
     14stop line "C  2" 157.6m reaches 0.002 relative to "o  3" 5007 A 
    1515c 
    1616c other commands for details     ========= 
     
    3333 
    3434this is an example of a simple calculation that stops when 
    35 a certain line ratio is reached 
     35a certain emission line ratio is reached 
     36 
  • trunk/tsuite/auto/func_t3.in

    r2314 r2335  
    1010c commands controlling geometry  ========= 
    1111stop zone 1 
    12 c specify a thin cell of gas - 1 cm thick 
     12c specify a thin cell of gas 1 cm thick 
    1313set dr 0  
    1414c 
  • trunk/tsuite/auto/func_test.in

    r1092 r2335  
    1 title this runs the standard, one command, test, which contains many asserts 
     1title run smoke test 
    22c commands controlling continuum ========= 
    33test 
     
    2727c  
    2828 
    29 This runs the "test" command, which include several asserts. 
     29This runs the smoke test command, which include several asserts. 
    3030 
  • trunk/tsuite/auto/func_trans_punch.in

    r2314 r2335  
    2323c 
    2424c commands giving the asserts    ========= 
    25 c this contains a large number of asserts  
     25c this contains a large number of asserts that both tests use 
    2626init file "trans.dat" 
    2727c  
     
    3535continuum then read it. 
    3636 
     37This sim must come before func_trans_read since it 
     38generates the punch file needed by func_trans_read. 
     39Alphabetical order insures this. 
  • trunk/tsuite/auto/func_trans_read.in

    r2314 r2335  
    11title second of transpunch/transread pair, used transmitted continuum 
    2 c the transmitted continuum produced by func_trans_punch" 
     2c the transmitted continuum produced by func_trans_punch 
    33c 
    44c commands controlling continuum ========= 
     
    1919c 
    2020c commands controlling output    ========= 
    21 c this contains a large number of asserts  
     21c this contains a large number of asserts used by both commands 
    2222init file "trans.dat" 
    2323print incident continuum  
  • trunk/tsuite/auto/grains_lte.in

    r2260 r2335  
    44c commands controlling continuum ========= 
    55black 3 lte 
    6 // 
    76c 
    87c commands for density & abundances ========= 
     
    109eden 5 
    1110init file "hheonly.ini" 
    12 // need to normalize to some line, O will provide some  
     11c need to normalize to some line, oxygen will provide some  
    1312element oxygen on  
     13c ism grains with high dust to gas ratio 
    1414grain abund 1 
    1515c 
     
    5454c  
    5555 
    56 This test radiations a set of grains with a true blackbody in 
     56This test irradiates a set of grains with a true blackbody in 
    5757strict thermodynamic equilibrium.  We expect the grains 
    5858(and everything else) to equilibriate at the blackbody temperature. 
    5959The gas temperature is forced to the radiation temperature because 
    6060the current molecule network (based on ISM approximations) does not 
    61 now go to LTE in the high radiation density limit.  The calculation 
     61go to LTE in the high-radiation density limit.  The calculation 
    6262asserts that all grain temperatures are very close to the radiation 
    6363temperature. 
  • trunk/tsuite/auto/grains_temp.in

    r2314 r2335  
    4141c  
    4242 
    43 This turns on all the grain species that the code knows about, 
    44 at least in its default state.  A model of an ionized layer is 
     43This turns on all the grain species that are included in the distribution. 
     44A model of an ionized layer is 
    4545done and the asserts confirm the resulting grain temperatures. 
    4646 
  • trunk/tsuite/auto/grains_temp_all.in

    r860 r2335  
    7474c  
    7575 
    76 this is a relatively quick test of the new grains.   
     76This is a relatively quick test of grains.   
    7777The Orion and ISM silicate and graphitic grains 
    7878are turned on and their equilibrium temperature 
    79 checked.  This uses distributed grain sizes by default. 
     79checked.