Changeset 1208

Show
Ignore:
Timestamp:
06/24/07 09:07:10 (11 months ago)
Author:
rjrw
Message:

Delete H- charge transfer from ionization, now treated using chemical
network.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/newmole/source/ion_recomb.cpp

    r1137 r1208  
    167167                        StatesElem[ipH_LIKE][ipHYDROGEN][ipH1s].Pop*dense.xIonDense[ipHYDROGEN][1]; 
    168168 
    169                 /*>>chng 04 feb 20, add this, had always been in for destruction for H- */ 
    170                 /* charge transfer recombination of first ion to neutral, by reaction with H-  
    171                  * the ion==0 is right, the first array element is the */ 
    172                 if( ion==0 && nelem>ipHELIUM && atmdat.lgCTOn ) 
    173                 { 
    174                         char react[32],element[3],*s; 
    175                         strncpy( element,elementnames.chElementSym[nelem], 3 ); 
    176                         s = strchr(element,' '); 
    177                         if (s) 
    178                                 *s = '\0'; 
    179                         sprintf(react,"H-,%s+=>H,%s",element,element); 
    180                         ChargeTransfer[ion] += CO_findrk(react) * findspecies("H-")->hevmol; 
    181                 } 
    182  
    183169                /* >>chng 06 feb 01, add option to use Badnell RR data rather than Verner */ 
    184170                if( ionbal.lgRR_recom_Badnell_use && ionbal.lgRR_Badnell_rate_coef_exist[nelem][ion] )