Show
Ignore:
Timestamp:
05/14/08 07:20:26 (8 months ago)
Author:
gary
Message:

parse_caseb.cpp add A and C options to Case B command
parse_commands.cpp - change comments
iso_collide.cpp - change comments

zero.cpp and init_defaults_preparse.cpp - move vars set by case b between files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/init_defaults_preparse.cpp

    r1949 r2062  
    88#include "trace.h" 
    99#include "noexec.h" 
     10#include "rfield.h" 
     11#include "opacity.h" 
    1012#include "stopcalc.h" 
    1113#include "plot.h" 
     
    483485        rt.nLineContShield = LINE_CONT_SHIELD_FEDERMAN; 
    484486 
     487        /* parameters set with Case A and Case B commands */ 
     488        /* this is flag for turning on case b */ 
     489        opac.lgCaseB = false; 
     490 
     491        /* this is separate flag for turning off collisions from n=2 */ 
     492        opac.lgCaseB_HummerStorey = false; 
     493 
     494        /* this is separate flag for turning off excited state photoionization */ 
     495        opac.lgCaseB_no_photo = false; 
     496        /* another case b option, turn off background opacities, no Pdest */ 
     497        opac.lgCaseB_no_pdest = false; 
     498 
     499        /* smallest allowed line and Lya optical depths, reset with 
     500        * Case B command */ 
     501        opac.tlamin = 1e-20f; 
     502 
     503        /* taumin command minimum optical depths for lines default 1e-20 */ 
     504        opac.taumin = 1e-20f; 
     505 
     506        /* set false with no induced processes */ 
     507        rfield.lgInducProcess = true; 
     508 
    485509        return; 
    486510}