Show
Ignore:
Timestamp:
06/27/08 06:20:29 (7 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/prt_lines_hydro.cpp

    r1940 r2133  
    270270                                                Transitions[ipH_LIKE][nelem][index_of_nHi_P][index_of_nLo_S].Emis->xIntensity += 
    271271                                                        Transitions[ipH_LIKE][nelem][ipHi][ipLo].Emis->xIntensity; 
    272                                                 /* kill the resolved line */ 
    273                                                 Transitions[ipH_LIKE][nelem][ipHi][ipLo].Emis->xIntensity = 0.; 
     272                                                /* kill the resolved line - negative means will not be printed */ 
     273                                                Transitions[ipH_LIKE][nelem][ipHi][ipLo].Emis->xIntensity = -1; 
    274274                                                //ASSERT( Transitions[ipH_LIKE][nelem][index_of_nHi_P][index_of_nLo_S].Emis->xIntensity > 0. ); 
    275275                                        }