Show
Ignore:
Timestamp:
06/22/08 10:51:55 (5 months ago)
Author:
rjrw
Message:

Use internal timestep limiting (...in an attempt...) to improve
robustness of molecular solver.

Files:
1 modified

Legend:

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

    r2096 r2118  
    149149                MoleMap.updateMolecules( newmols ); 
    150150                 
    151                 // fprintf(stdout,"Mole zone %ld -- %7.2f error %15.8g nBad %d\n",nzone,fnzone,error,nBad); 
     151                // fprintf(stdout,"Mole zone %ld -- %7.2f error %15.8g nBad %d loop %d\n",nzone,fnzone,error,nBad,i); 
    152152         
    153153                if (error < BIGERROR && nBad == 0 && nPrevBad == 0) /* Stop early if good enough */ 
     
    361361        else 
    362362        { 
    363                 lgConserve = true;  
     363                // Without pseudo-timestepping, need to apply conservation 
     364                // constraint to maintain non-singular matrix 
     365                lgConserve = false;  
    364366        }                
    365367