Show
Ignore:
Timestamp:
02/13/08 14:15:39 (9 months ago)
Author:
rjrw
Message:

Add molecular transfer rates to iso_sequence

Multiply rates by abundance in molecular network balance debug print,
to make interpretation clearer.

Location:
branches/newmole/source
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/newmole/source/iso_ionize_recombine.cpp

    r1739 r1797  
    183183        iso.RateCont2Level[ipISO][nelem][level] += gv.GrainChTrRate[nelem][nelem+1-ipISO][nelem-ipISO]; 
    184184 
     185        for(ion=0; ion<nelem+1; ++ion) 
     186                if ( ion < nelem-ipISO ) 
     187                        iso.RateLevel2Cont[ipISO][nelem][level] += mole.xMoleChTrRate[nelem][nelem-ipISO][ion]; 
     188                else if ( ion > nelem-ipISO ) 
     189                        iso.RateCont2Level[ipISO][nelem][level] += mole.xMoleChTrRate[nelem][ion][nelem-ipISO]; 
     190 
    185191        /* now charge transfer - all into/from ground, two cases, H and not H */ 
    186192        if( nelem==ipHYDROGEN ) 
  • branches/newmole/source/iso_level.cpp

    r1780 r1797  
    406406                } 
    407407 
    408 #if     0 
    409408                /* add in source and sink terms from molecular network. */ 
    410                 CodeReview(); /* Check... */ 
    411409                if( nelem == ipISO && conv.nTotalIoniz ) 
    412410                { 
     
    420418                        } 
    421419                } 
    422 #endif 
    423420 
    424421                /* >>chng 04 nov 30, atom XX-like collisions off turns this off too */ 
  • branches/newmole/source/mole_eval_balance.cpp

    r1742 r1797  
    205205                { 
    206206                        fprintf(stdout,"%20.20s snk %13.7g of %13.7g [", 
    207                                                         ratesnk->label,snkx,mole.zone[debug_species->index].snk); 
     207                                                        ratesnk->label,snkx*mole.list[debug_species->index]->den, 
     208                                                        mole.zone[debug_species->index].snk*mole.list[debug_species->index]->den); 
    208209                        for (j=0;j<ratesnk->nreactants;j++)  
    209210                        {