/[escript]/trunk/escript/py_src/linearPDEs.py
ViewVC logotype

Diff of /trunk/escript/py_src/linearPDEs.py

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

revision 1818 by ksteube, Thu Sep 25 06:43:44 2008 UTC revision 1819 by artak, Tue Sep 30 05:58:06 2008 UTC
# Line 462  class LinearPDE(object): Line 462  class LinearPDE(object):
462     @cvar ITERATIVE: The default iterative solver     @cvar ITERATIVE: The default iterative solver
463     @cvar AMG: algebraic multi grid     @cvar AMG: algebraic multi grid
464     @cvar RILU: recursive ILU     @cvar RILU: recursive ILU
465       @cvar GS: Gauss-Seidel solver
466    
467     """     """
468     DEFAULT= 0     DEFAULT= 0
# Line 492  class LinearPDE(object): Line 493  class LinearPDE(object):
493     NONLINEAR_GMRES = 25     NONLINEAR_GMRES = 25
494     TFQMR = 26     TFQMR = 26
495     MINRES = 27     MINRES = 27
496       GS=28
497    
498     SMALL_TOLERANCE=1.e-13     SMALL_TOLERANCE=1.e-13
499     __PACKAGE_KEY="package"     __PACKAGE_KEY="package"
# Line 952  class LinearPDE(object): Line 954  class LinearPDE(object):
954         @param solver: sets a new solver method.         @param solver: sets a new solver method.
955         @type solver: one of L{DEFAULT}, L{ITERATIVE} L{DIRECT}, L{CHOLEVSKY}, L{PCG}, L{CR}, L{CGS}, L{BICGSTAB}, L{SSOR}, L{GMRES}, L{TFQMR}, L{MINRES}, L{PRES20}, L{LUMPING}, L{AMG}         @type solver: one of L{DEFAULT}, L{ITERATIVE} L{DIRECT}, L{CHOLEVSKY}, L{PCG}, L{CR}, L{CGS}, L{BICGSTAB}, L{SSOR}, L{GMRES}, L{TFQMR}, L{MINRES}, L{PRES20}, L{LUMPING}, L{AMG}
956         @param preconditioner: sets a new solver method.         @param preconditioner: sets a new solver method.
957         @type preconditioner: one of L{DEFAULT}, L{JACOBI} L{ILU0}, L{ILUT},L{SSOR}, L{RILU}         @type preconditioner: one of L{DEFAULT}, L{JACOBI} L{ILU0}, L{ILUT},L{SSOR}, L{RILU},  L{GS}
958         """         """
959         if solver==None: solver=self.__solver_method         if solver==None: solver=self.__solver_method
960         if preconditioner==None: preconditioner=self.__preconditioner         if preconditioner==None: preconditioner=self.__preconditioner
# Line 997  class LinearPDE(object): Line 999  class LinearPDE(object):
999         elif m[1]==self.SSOR: method+= "+SSOR"         elif m[1]==self.SSOR: method+= "+SSOR"
1000         elif m[1]==self.AMG: method+= "+AMG"         elif m[1]==self.AMG: method+= "+AMG"
1001         elif m[1]==self.RILU: method+= "+RILU"         elif m[1]==self.RILU: method+= "+RILU"
1002           elif m[1]==self.GS: method+= "+GS"
1003         if p==self.DEFAULT: package="DEFAULT"         if p==self.DEFAULT: package="DEFAULT"
1004         elif p==self.PASO: package= "PASO"         elif p==self.PASO: package= "PASO"
1005         elif p==self.MKL: package= "MKL"         elif p==self.MKL: package= "MKL"

Legend:
Removed from v.1818  
changed lines
  Added in v.1819

  ViewVC Help
Powered by ViewVC 1.1.26