/[ascend]/trunk/ascxx/simulation.cpp
ViewVC logotype

Diff of /trunk/ascxx/simulation.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2460 by jpye, Tue Mar 1 07:43:18 2011 UTC revision 2461 by jpye, Mon Apr 25 09:09:57 2011 UTC
# Line 943  Simulation::processVarStatus(){ Line 943  Simulation::processVarStatus(){
943    
944      if(!bb->block){      if(!bb->block){
945          /**          /**
946          @todo just manually set 'low' and 'high' to both be equal to          @todo if we don't have any block structure information then just
947          sys->n if the system is converged, or else set low to 1 and hight to          'manually' set 'low' and 'high' to both be equal to sys->n if the
948          sys->n in the case where it did not converge.          system is converged, or else set low to 1 and high to sys->n in the
949            case where it did not converge.
950          */          */
951    
952          /** @todo find out the way code is taking */          /** @todo find out the way code is taking */
# Line 958  Simulation::processVarStatus(){ Line 959  Simulation::processVarStatus(){
959          }          }
960      }      }
961      else{      else{
962      int activeblock = status.block.current_block;          int activeblock = status.block.current_block;
963      asc_assert(activeblock <= status.block.number_of);          asc_assert(activeblock <= status.block.number_of);
964    
965      low = bb->block[activeblock].col.low;          low = bb->block[activeblock].col.low;
966      high = bb->block[activeblock].col.high;          high = bb->block[activeblock].col.high;
967      }      }
968      bool allsolved = status.converged;      bool allsolved = status.converged;
969      for(int c=0; c < nvars; ++c){      for(int c=0; c < nvars; ++c){

Legend:
Removed from v.2460  
changed lines
  Added in v.2461

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22