Show
Ignore:
Timestamp:
05/10/08 09:03:02 (6 months ago)
Author:
peter
Message:

Merging all changes from mainline upto r2033, except r1902.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/c08_branch/source/grains.cpp

    r1817 r2034  
    235235STATIC double GrnVryDpth(long); 
    236236 
    237 /*lint -e661 possible access of out-of-bounds pointer */ 
    238 /*lint -e662 creation of out of bounds pointer */ 
    239  
    240237/* >>chng 01 oct 29, introduced gv.bin[nd]->cnv_H_pGR, cnv_GR_pH, etc. PvH */ 
    241238 
     
    16011598                        * PAHs are strong near the ionization front and weak in the ionized and molecular gas */ 
    16021599                        /* >>chng 04 sep 28, propto atomic fraction */ 
    1603                         GrnStdDpth_v = dense.xIonDense[ipHYDROGEN][0]/dense.gas_phase[ipHYDROGEN]; 
     1600                        GrnStdDpth_v = max(1.e-10,dense.xIonDense[ipHYDROGEN][0]/dense.gas_phase[ipHYDROGEN]); 
    16041601                } 
    16051602                else if( strcmp( gv.chPAH_abundance_fcn , "CON" )==0 ) 
     
    51095106        return GrnVryDpth_v; 
    51105107} 
    5111 /*lint +e662 creation of out of bounds pointer */ 
    5112 /*lint +e661 possible access of out-of-bounds pointer */