Changeset 1797 for branches/newmole/source
- Timestamp:
- 02/13/08 14:15:39 (9 months ago)
- Location:
- branches/newmole/source
- Files:
-
- 3 modified
-
iso_ionize_recombine.cpp (modified) (1 diff)
-
iso_level.cpp (modified) (2 diffs)
-
mole_eval_balance.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/newmole/source/iso_ionize_recombine.cpp
r1739 r1797 183 183 iso.RateCont2Level[ipISO][nelem][level] += gv.GrainChTrRate[nelem][nelem+1-ipISO][nelem-ipISO]; 184 184 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 185 191 /* now charge transfer - all into/from ground, two cases, H and not H */ 186 192 if( nelem==ipHYDROGEN ) -
branches/newmole/source/iso_level.cpp
r1780 r1797 406 406 } 407 407 408 #if 0409 408 /* add in source and sink terms from molecular network. */ 410 CodeReview(); /* Check... */411 409 if( nelem == ipISO && conv.nTotalIoniz ) 412 410 { … … 420 418 } 421 419 } 422 #endif423 420 424 421 /* >>chng 04 nov 30, atom XX-like collisions off turns this off too */ -
branches/newmole/source/mole_eval_balance.cpp
r1742 r1797 205 205 { 206 206 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); 208 209 for (j=0;j<ratesnk->nreactants;j++) 209 210 {
