Show
Ignore:
Timestamp:
05/19/08 12:30:10 (8 months ago)
Author:
rjrw
Message:

Remove some remaining inconsistencies between ion_solver and iso_level

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/ion_solver.cpp

    r1960 r2085  
    294294         * change ionization stages with this ladder - but do not remove from  
    295295         * the ladder */ 
    296         for( ion_to=dense.IonLow[nelem]; ion_to <= limit; ion_to++ ) 
     296        for( ion_to=dense.IonLow[nelem]; ion_to <= dense.IonHigh[nelem]; ion_to++ ) 
    297297        { 
    298298                for( ion_from=dense.IonLow[nelem]; ion_from <= dense.IonHigh[nelem]; ++ion_from ) 
     
    477477 
    478478                        totsrc += mole.source[nelem][ion]; 
    479                         /* sink next */ 
    480                         /*MAT( xmat, i, i ) += mole.sink[nelem][ion];*/ 
    481479                        MAT( xmat, i, i ) -= mole.sink[nelem][ion]; 
    482480                }