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_comment.cpp

    r1896 r1913  
    834834        } 
    835835 
    836         if( !iso.lgCritDensLMix[ipHE_LIKE] && dense.lgElmtOn[ipHELIUM] ) 
    837         { 
    838                 sprintf( chLine, 
    839                         "   Critical density for l-mixing of He I not reached. " 
    840                         " More resolved levels are needed for accurate He I line ratios."); 
    841                 notein(chLine); 
     836        /* check for critical density for l-mixing */ 
     837        for( ipISO=ipH_LIKE; ipISO<NISO; ++ipISO ) 
     838        { 
     839                if( !iso.lgCritDensLMix[ipISO] && dense.lgElmtOn[ipISO] ) 
     840                { 
     841                        sprintf( chLine, 
     842                                "   The density is too low to l-mix the lowest %s I collapsed level. " 
     843                                " More resolved levels are needed for accurate line ratios.", 
     844                                elementnames.chElementSym[ipISO]); 
     845                        notein(chLine); 
     846                } 
    842847        } 
    843848 
     
    849854                        if( iso.lgLevelsLowered[ipISO][nelem] && dense.lgElmtOn[nelem] ) 
    850855                        { 
    851                                 sprintf( chLine, "  !Continuum was lowered into model %s-like %s due to high density.  Max n is %li", 
     856                                sprintf( chLine, "  !Continuum was lowered into model %s-like %s due to high density.  Highest n is %li", 
    852857                                        elementnames.chElementSym[ipISO], 
    853                                         elementnames.chElementNameShort[nelem], 
     858                                        elementnames.chElementSym[nelem], 
    854859                                        iso.n_HighestResolved_local[ipISO][nelem]+iso.nCollapsed_local[ipISO][nelem]); 
    855860                                bangin(chLine);