/[ascend]/trunk/pygtk/interface/solver.i
ViewVC logotype

Diff of /trunk/pygtk/interface/solver.i

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

revision 225 by johnpye, Fri Jan 27 14:55:43 2006 UTC revision 227 by johnpye, Sat Jan 28 04:44:15 2006 UTC
# Line 21  public: Line 21  public:
21      void checkDoF() const;      void checkDoF() const;
22      void run(const Method &);      void run(const Method &);
23      void setSolver(Solver&);      void setSolver(Solver&);
24        const Solver getSolver() const;
25      void solve(Solver s);      void solve(Solver s);
26      SolverParameters getSolverParameters() const;      SolverParameters getSolverParameters() const;
27      void setSolverParameters(SolverParameters&);      void setSolverParameters(SolverParameters&);
# Line 35  public: Line 36  public:
36              self.index = 0;              self.index = 0;
37    
38          def next(self):          def next(self):
39                self.index = self.index + 1
40              if self.index >= self.params.getLength():              if self.index >= self.params.getLength():
41                  raise StopIteration                  raise StopIteration
             self.index = self.index + 1  
42              return self.params.getParameter(self.index)              return self.params.getParameter(self.index)
43  }  }
44    

Legend:
Removed from v.225  
changed lines
  Added in v.227

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