/[ascend]/trunk/test.py
ViewVC logotype

Diff of /trunk/test.py

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

revision 979 by johnpye, Wed Dec 20 14:34:16 2006 UTC revision 980 by johnpye, Wed Dec 20 23:23:50 2006 UTC
# Line 164  class TestLSODE(Ascend): Line 164  class TestLSODE(Ascend):
164      def testlotka(self):      def testlotka(self):
165          self.L.load('johnpye/lotka.a4c')          self.L.load('johnpye/lotka.a4c')
166          M = self.L.findType('lotka').getSimulation('sim')          M = self.L.findType('lotka').getSimulation('sim')
167          M.solve(ascpy.Solver("QRSlv"),ascpy.SolverReporter())            M.setSolver(ascpy.Solver("QRSlv"))
168          I = ascpy.Integrator(M)          I = ascpy.Integrator(M)
169          I.setEngine('LSODE')          I.setEngine('LSODE')
170          I.setReporter(ascpy.IntegratorReporterConsole(I))          I.setReporter(ascpy.IntegratorReporterConsole(I))

Legend:
Removed from v.979  
changed lines
  Added in v.980

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