/[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 310 by johnpye, Thu Feb 23 03:48:56 2006 UTC revision 314 by johnpye, Thu Feb 23 06:00:42 2006 UTC
# Line 372  Simulation::solve(Solver solver, SolverR Line 372  Simulation::solve(Solver solver, SolverR
372      bool stop=false;      bool stop=false;
373    
374      status.getSimulationStatus(*this);      status.getSimulationStatus(*this);
375      reporter.report(status);      cerr << "FIRST REPORTER CALL..." << endl;
376        reporter.report(&status);
377        cerr << "SECOND REPORTER CALL..." << endl;
378        reporter.report(&status);
379        cerr << "THIRD REPORTER CALL..." << endl;
380        reporter.report(&status);
381    
382      for(int iter = 1; iter <= niter && !stop; ++iter){      for(int iter = 1; iter <= niter && !stop; ++iter){
383    
# Line 381  Simulation::solve(Solver solver, SolverR Line 386  Simulation::solve(Solver solver, SolverR
386          }          }
387    
388          status.getSimulationStatus(*this);          status.getSimulationStatus(*this);
389          reporter.report(status);          reporter.report(&status);
390    
391          if(tm_cpu_time() - lastupdate > updateinterval && iter > 0){          if(tm_cpu_time() - lastupdate > updateinterval && iter > 0){
392              if(solved_vars < status.getNumConverged()){              if(solved_vars < status.getNumConverged()){

Legend:
Removed from v.310  
changed lines
  Added in v.314

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