/[escript]/branches/diaplayground/poisson.py
ViewVC logotype

Diff of /branches/diaplayground/poisson.py

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

revision 5136 by caltinay, Tue Sep 9 07:13:55 2014 UTC revision 5147 by caltinay, Fri Sep 12 00:33:02 2014 UTC
# Line 27  def solve(target): Line 27  def solve(target):
27              Y_reduced[i] = 1.              Y_reduced[i] = 1.
28    
29      pde.setValue(A=A, Y_reduced=Y_reduced, q=q)      pde.setValue(A=A, Y_reduced=Y_reduced, q=q)
30      pde.getSolverOptions().setPackage(SolverOptions.PASO)      pde.getSolverOptions().setPackage(SolverOptions.CUSP)
31      pde.getSolverOptions().setSolverTarget(target)      pde.getSolverOptions().setSolverTarget(target)
32      pde.getSolverOptions().setSolverMethod(SolverOptions.PRES20)      pde.getSolverOptions().setSolverMethod(SolverOptions.PRES20)
33      pde.getSolverOptions().setSolverMethod(SolverOptions.BICGSTAB)      pde.getSolverOptions().setSolverMethod(SolverOptions.BICGSTAB)

Legend:
Removed from v.5136  
changed lines
  Added in v.5147

  ViewVC Help
Powered by ViewVC 1.1.26