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/abundances.cpp

    r2127 r2133  
    263263        /* if stop temp set below default then we are going into cold and possibly  
    264264         * molecular gas - check some parameters in this case */ 
    265         if( called.lgTalk && (StopCalc.tend < phycon.TEMP_STOP_DEFAULT ||  
     265        if( called.lgTalk && (StopCalc.TempLoStopZone < phycon.TEMP_STOP_DEFAULT ||  
    266266                /* thermal.ConstTemp def is zero, set pos when used */ 
    267267                (thermal.ConstTemp > 0. && thermal.ConstTemp < phycon.TEMP_STOP_DEFAULT ) ) )