/[ascend]/trunk/pygtk/canvas/blocklist.py
ViewVC logotype

Diff of /trunk/pygtk/canvas/blocklist.py

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

revision 2578 by jpye, Mon Apr 11 11:47:13 2011 UTC revision 2579 by jpye, Wed Mar 14 23:05:32 2012 UTC
# Line 540  class mainWindow(gtk.Window): Line 540  class mainWindow(gtk.Window):
540              self.ascwrap.library.loadString(model,"canvasmodel")              self.ascwrap.library.loadString(model,"canvasmodel")
541                            
542              T = self.ascwrap.library.findType("canvasmodel")              T = self.ascwrap.library.findType("canvasmodel")
543              M = T.getSimulation('canvassim')              M = T.getSimulation('canvassim',True)
544              M.setSolver(ascpy.Solver("QRSlv"))              M.setSolver(ascpy.Solver("QRSlv"))
545              M.solve(ascpy.Solver("QRSlv"),ascpy.SolverReporter())              M.solve(ascpy.Solver("QRSlv"),ascpy.SolverReporter())
546    

Legend:
Removed from v.2578  
changed lines
  Added in v.2579

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