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

    r2062 r2133  
    317317        prt.lgSurfaceBrightness = false; 
    318318        prt.lgSurfaceBrightness_SR = true; 
     319 
     320        /* print line cumulative sets true, print integrated line intensity over 
     321         * time in temp dependent simulation */ 
     322        prt.lgPrintLineCumulative = false; 
    319323 
    320324        prt.nzdump = -100; 
     
    384388        StopCalc.AV_point = 1e30f; 
    385389        /* highest allowed temperature */ 
    386         StopCalc.T2High = (realnum)phycon.TEMP_LIMIT_HIGH; 
     390        StopCalc.TempHiStopZone = (realnum)phycon.TEMP_LIMIT_HIGH; 
     391        StopCalc.TempHiStopIteration = (realnum)phycon.TEMP_LIMIT_HIGH; 
    387392 
    388393        /* the floor sets a limit to the temperature in the calculation - 
     
    391396        StopCalc.TeFloor = 0.; 
    392397 
    393         /* this is in cddefines.h and is 4000 */ 
    394         StopCalc.tend = (realnum)phycon.TEMP_STOP_DEFAULT; 
     398        /* stop zone calculations when Te falls below this, 
     399         * TEMP_STOP_DEFAULT in cddefines.h and is 4000 */ 
     400        StopCalc.TempLoStopZone = (realnum)phycon.TEMP_STOP_DEFAULT; 
     401        /* stop iterations, used to stop time dependent command */ 
     402        StopCalc.TempLoStopIteration = -1.; 
     403 
    395404        /* ending column densities */ 
    396405        StopCalc.HColStop = COLUMN_INIT;