source:
issm/trunk-jpl/src/m/solvers/bcgslgasmoptions.m
| Last change on this file was 20574, checked in by , 10 years ago | |
|---|---|
| File size: 380 bytes | |
| Line | |
|---|---|
| 1 | function solverOptions=bcgslgasmoptions(varargin) |
| 2 | |
| 3 | %retrieve options provided in varargin |
| 4 | options=pairoptions(varargin{:}); |
| 5 | solverOptions=struct(); |
| 6 | solverOptions.toolkit='petsc'; |
| 7 | solverOptions.mat_type=getfieldvalue(options, 'mat_type','mpiaij'); |
| 8 | solverOptions.ksp_type=getfieldvalue(options, 'ksp_type','bcgsl'); |
| 9 | solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'gasm'); |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)