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

Diff of /trunk/pygtk/integrator.cpp

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

revision 952 by johnpye, Tue Nov 28 23:01:50 2006 UTC revision 953 by johnpye, Thu Dec 7 14:47:15 2006 UTC
# Line 97  Integrator::analyse(){ Line 97  Integrator::analyse(){
97      Integrate the function for the timesteps specified.      Integrate the function for the timesteps specified.
98    
99      This method will throw a runtime_error if integration fails.      This method will throw a runtime_error if integration fails.
100    
101        @TODO does simulation.processVarStatus work for integrators like IDA???
102  */  */
103  void  void
104  Integrator::solve(){  Integrator::solve(){
# Line 113  Integrator::solve(){ Line 115  Integrator::solve(){
115      int res;      int res;
116      res = integrator_solve(blsys, 0, samplelist_length(samplelist)-1);      res = integrator_solve(blsys, 0, samplelist_length(samplelist)-1);
117    
     // communicate solver variable status back to the instance tree via 'interface_ptr'  
     simulation.processVarStatus();  
   
118      if(!res){      if(!res){
119          throw runtime_error("Failed integration");          throw runtime_error("Failed integration");
120      }      }
121    
122        // communicate solver variable status back to the instance tree via 'interface_ptr'
123        simulation.processVarStatus();
124  }  }
125    
126  void  void

Legend:
Removed from v.952  
changed lines
  Added in v.953

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