/[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 969 by ksteube, Tue Feb 13 23:02:23 2007 UTC revision 971 by ksteube, Wed Feb 14 04:40:49 2007 UTC
# Line 413  class LinearPDE(object): Line 413  class LinearPDE(object):
413     @cvar SCSL: SGI SCSL solver library     @cvar SCSL: SGI SCSL solver library
414     @cvar MKL: Intel's MKL solver library     @cvar MKL: Intel's MKL solver library
415     @cvar UMFPACK: the UMFPACK library     @cvar UMFPACK: the UMFPACK library
    @cvar TRILINOS: the TRILINOS parallel solver class library from Sandia Natl Labs  
416     @cvar ITERATIVE: The default iterative solver     @cvar ITERATIVE: The default iterative solver
417     @cvar AMG: algebraic multi grid     @cvar AMG: algebraic multi grid
418     @cvar RILU: recursive ILU     @cvar RILU: recursive ILU
# Line 443  class LinearPDE(object): Line 442  class LinearPDE(object):
442     PASO= 21     PASO= 21
443     AMG= 22     AMG= 22
444     RILU = 23     RILU = 23
    TRILINOS = 24  
445    
446     SMALL_TOLERANCE=1.e-13     SMALL_TOLERANCE=1.e-13
447     __PACKAGE_KEY="package"     __PACKAGE_KEY="package"
# Line 870  class LinearPDE(object): Line 868  class LinearPDE(object):
868         elif p==self.MKL: package= "MKL"         elif p==self.MKL: package= "MKL"
869         elif p==self.SCSL: package= "SCSL"         elif p==self.SCSL: package= "SCSL"
870         elif p==self.UMFPACK: package= "UMFPACK"         elif p==self.UMFPACK: package= "UMFPACK"
        elif p==self.TRILINOS: package= "TRILINOS"  
871         else : method="unknown"         else : method="unknown"
872         return "%s solver of %s package"%(method,package)         return "%s solver of %s package"%(method,package)
873    
# Line 889  class LinearPDE(object): Line 886  class LinearPDE(object):
886         sets a new solver package         sets a new solver package
887    
888         @param package: sets a new solver method.         @param package: sets a new solver method.
889         @type package: one of L{DEFAULT}, L{PASO} L{SCSL}, L{MKL}, L{UMFPACK}, L{TRILINOS}         @type package: one of L{DEFAULT}, L{PASO} L{SCSL}, L{MKL}, L{UMFPACK}
890         """         """
891         if package==None: package=self.DEFAULT         if package==None: package=self.DEFAULT
892         if not package==self.getSolverPackage():         if not package==self.getSolverPackage():

Legend:
Removed from v.969  
changed lines
  Added in v.971

  ViewVC Help
Powered by ViewVC 1.1.26