Show
Ignore:
Timestamp:
04/03/08 12:44:50 (9 months ago)
Author:
gary
Message:

these changes affect the predicted iso sequence lines. there are three major parts:

cont_createmesh.cpp the fine continuum did not extend down to the wavelength of HeI 10830 so line overlap was not being treated. Extended low energy limit to below this line. this caused some asserted 10830 lines to change.

do not print H-like or He-like lines that are produced from collapsed levels. Their emission has problems which will be documented in a trac ticket.

the data/LineList* files had H and He like lines from collapsed levels commented out. The code now predicts far fewer lines from H and He like species.

iso_level - now keep track of whether the l-mixing collisions out of p are fast enough to mix the levels. if not a comment is printed saying that the H, He lines are not accurate

prt_alltau.cpp - do not print He I line optical depths twice

parse_atom_iso.cpp - add print levels option to atom H-like levels print or atom He-like levels print to print sizes of all ions of H and He sequence. the command does not change the number of levels.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/prt_alltau.cpp

    r1732 r1913  
    116116        PrintE93( ioQQQ , opac.TauTotalGeo[0][iso.ipIsoLevNIonCon[ipH_LIKE][1][ipH1s]-1]/fcon); 
    117117        fprintf( ioQQQ, "\n"); 
    118  
    119         if( dense.lgElmtOn[ipHELIUM] ) 
    120         { 
    121                 /* print optical depths of previous iteration with old atom */ 
    122  
    123                 /* these results are for new HeI as part of he iso sequence */ 
    124                 fprintf( ioQQQ, "  Line Optical Depths: 10830:"); 
    125                 fprintf( ioQQQ,PrintEfmt("%9.2e", (Transitions[ipHE_LIKE][ipHELIUM][ipHe2p3P0][ipHe2s3S].Emis->TauIn+ 
    126                         Transitions[ipHE_LIKE][ipHELIUM][ipHe2p3P1][ipHe2s3S].Emis->TauIn+ 
    127                         Transitions[ipHE_LIKE][ipHELIUM][ipHe2p3P2][ipHe2s3S].Emis->TauIn)/flin)); 
    128                 fprintf( ioQQQ, "  3889:"); 
    129                 fprintf( ioQQQ,PrintEfmt("%9.2e", Transitions[ipHE_LIKE][ipHELIUM][ipHe3p3P][ipHe2s3S].Emis->TauIn/flin)); 
    130                 fprintf( ioQQQ, "    5876:"); 
    131                 fprintf( ioQQQ,PrintEfmt("%9.2e", (Transitions[ipHE_LIKE][ipHELIUM][ipHe3d3D][ipHe2p3P0].Emis->TauIn+ 
    132                         Transitions[ipHE_LIKE][ipHELIUM][ipHe3d3D][ipHe2p3P1].Emis->TauIn+ 
    133                         Transitions[ipHE_LIKE][ipHELIUM][ipHe3d3D][ipHe2p3P2].Emis->TauIn)/flin)); 
    134                 fprintf( ioQQQ, " 7065:"); 
    135                 fprintf( ioQQQ,PrintEfmt("%9.2e", (Transitions[ipHE_LIKE][ipHELIUM][ipHe3s3S][ipHe2p3P0].Emis->TauIn+ 
    136                         Transitions[ipHE_LIKE][ipHELIUM][ipHe3s3S][ipHe2p3P1].Emis->TauIn+ 
    137                         Transitions[ipHE_LIKE][ipHELIUM][ipHe3s3S][ipHe2p3P2].Emis->TauIn)/flin)); 
    138                 fprintf( ioQQQ, "  2.06m:"); 
    139                 fprintf( ioQQQ,PrintEfmt("%9.2e", Transitions[ipHE_LIKE][ipHELIUM][ipHe2p1P][ipHe2s1S].Emis->TauIn/flin)); 
    140                 fprintf( ioQQQ, "  21c:"); 
    141                 fprintf( ioQQQ,PrintEfmt("%9.2e", HFLines[0].Emis->TauIn/flin)); 
    142                 /* the HeII 3 cm equivalent of H 21 cm */ 
    143                 fprintf( ioQQQ, "\n" ); 
    144         } 
    145118 
    146119        /* print optical depths of some metal lines */ 
     
    251224                /* ================================================================================*/ 
    252225 
    253  
    254226                fprintf( ioQQQ, "          Old He Is Lines:" ); 
    255227                fprintf( ioQQQ, " %4d",584 );