Changeset 23670 for issm/trunk-jpl/src/py3/solvers/issmmumpssolver.py
- Timestamp:
- 01/31/19 07:34:11 (7 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  issm/trunk-jpl/src/py3/solvers/issmmumpssolver.py (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      issm/trunk-jpl/src/py3/solvers/issmmumpssolver.pyr19895 r23670 1 from collections import OrderedDict 1 2 import pairoptions 2 3 3 def issmmumpssolver(* *kwargs):4 def issmmumpssolver(*args): 4 5 #ISSMSOLVE - return issm solver options 5 6 # … … 8 9 9 10 #retrieve options provided in varargin 10 arguments=pairoptions.pairoptions(* *kwargs)11 arguments=pairoptions.pairoptions(*args) 11 12 12 options=[['toolkit','issm'],['mat_type','mpidense'],['vec_type','mpi'],['solver_type','mumps']]; 13 options=OrderedDict() 14 options['toolkit'] = 'issm' 15 options['mat_type'] = 'mpidense' 16 options['vec_type'] = 'mpi' 17 options['solver_type'] = 'mumps' 13 18 14 19 #now, go through our arguments, and write over default options. 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)
