Show
Ignore:
Timestamp:
06/27/08 06:20:29 (5 months ago)
Author:
gary
Message:

these implement two additional command line options for time dependent simulations

print lines cumulative - will print time-integrated spectrum in addition to spectrum for every time step

stop temperature xxx time
iterations/time steps will stop then the temperature of the last zone falls below the number. intended for stopping cals of single cell of cooling gas.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/rt_ots.cpp

    r1822 r2133  
    7171        /************************************************************************** 
    7272         * 
    73          * the bowen HeII - OIII fluorescense problem 
     73         * the bowen HeII - OIII fluorescence problem 
    7474         * 
    7575         **************************************************************************/ 
     
    100100                { 
    101101                        /* debugging code for line oscillation problems  
    102                                 * most often Lya OTS oscillations*/ 
    103                         /*@-redef@*/ 
     102                         * most often Lya OTS oscillations*/ 
    104103                        enum {DEBUG_LOC=false}; 
    105                         /*@+redef@*/ 
    106104                        if( DEBUG_LOC ) 
    107105                        { 
     
    268266        /* more debugging code for rec continua */ 
    269267        { 
    270                 /*@-redef@*/ 
    271268                enum {DEBUG_LOC=false}; 
    272                 /*@+redef@*/ 
    273269                if( DEBUG_LOC ) 
    274270                { 
     
    286282        } 
    287283 
    288         /* now reset Lya dest prob in case is was clobbered */ 
     284        /* now reset Lya dest prob in case is was clobbered by rfield.lgHeIIOTS */ 
    289285        Transitions[ipH_LIKE][ipHYDROGEN][ipH2p][ipH1s].Emis->Pdest = (realnum)save_lya_dest; 
    290286        Transitions[ipH_LIKE][ipHELIUM][ipH2p][ipH1s].Emis->Pdest = (realnum)save_he2lya_dest;