source: issm/trunk-jpl/src/m/solvers/bcgslgasmoptions.m@ 20573

Last change on this file since 20573 was 20573, checked in by Eric.Larour, 9 years ago

CHG: getting rid of petscversion.

File size: 382 bytes
Line 
1function solverOptions=bcgslgasmoptions(varargin)
2
3%retrieve options provided in varargin
4options=pairoptions(varargin{:});
5solverOptions=struct();
6solverOptions.toolkit='petsc';
7
8
9solverOptions.mat_type=getfieldvalue(options, 'mat_type','mpiaij');
10solverOptions.ksp_type=getfieldvalue(options, 'ksp_type','bcgsl');
11solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'gasm');
Note: See TracBrowser for help on using the repository browser.