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

Diff of /trunk/pygtk/simulation.cpp

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

revision 912 by johnpye, Fri Oct 27 07:18:21 2006 UTC revision 915 by johnpye, Sat Oct 28 07:06:22 2006 UTC
# Line 465  void Line 465  void
465  Simulation::build(){  Simulation::build(){
466      //cerr << "BUILDING SIMULATION..." << endl;      //cerr << "BUILDING SIMULATION..." << endl;
467      if(is_built){      if(is_built){
468          throw runtime_error("Simulation is already built");          CONSOLE_DEBUG("Note: rebuilding system (was already built)");
469      }      }
470    
471      Instance *i1 = getModel().getInternalType();      Instance *i1 = getModel().getInternalType();
# Line 673  Simulation::solve(Solver solver, SolverR Line 673  Simulation::solve(Solver solver, SolverR
673      }      }
674    
675      //cerr << "SOLVER PERFORMED " << status.getIterationNum() << " ITERATIONS IN " << elapsed << "s" << endl;      //cerr << "SOLVER PERFORMED " << status.getIterationNum() << " ITERATIONS IN " << elapsed << "s" << endl;
676    
677        // communicate solver variable status back to the instance tree
678        processVarStatus();
679  }  }
680    
681  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------

Legend:
Removed from v.912  
changed lines
  Added in v.915

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