/[ascend]/trunk/models/johnpye/solvernotes.py
ViewVC logotype

Diff of /trunk/models/johnpye/solvernotes.py

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

revision 918 by johnpye, Fri Oct 27 07:18:21 2006 UTC revision 919 by johnpye, Mon Nov 6 04:48:59 2006 UTC
# Line 22  def solvernotes(self): Line 22  def solvernotes(self):
22          reporter.reportError("No solver yet")          reporter.reportError("No solver yet")
23          return          return
24    
25        # the simulation needs to be built at this point, else solver could not
26        # be selected, and hence solver params could not be assigned.
27        sim.build()
28        
29        # use the solver selected in the browser
30        sim.setSolver(browser.solver)
31    
32      solvername = browser.solver.getName()      solvername = browser.solver.getName()
33      reporter.reportNote("Active solver is '%s'" % solvername)      reporter.reportNote("Active solver is '%s'" % solvername)
34    

Legend:
Removed from v.918  
changed lines
  Added in v.919

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