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

    r2119 r2133  
    2323#include "radius.h" 
    2424#include "thirdparty.h" 
     25#include "stopcalc.h" 
    2526#include "hextra.h" 
    2627#include "rfield.h" 
     
    13641365                        } 
    13651366 
     1367                        /* stop lowest temperature time command */ 
     1368                        if( (phycon.te < StopCalc.TempLoStopIteration) || 
     1369                                (phycon.te > StopCalc.TempHiStopIteration ) ) 
     1370                                dynamics.lgStatic_completed = true; 
     1371 
    13661372                        if( dynamics.time_elapsed < time_elapsed_time[0] ) 
    13671373                        {