source: issm/trunk-jpl/src/m/solvers/bcgslgamgoptions.m

Last change on this file was 20574, checked in by Mathieu Morlighem, 9 years ago

CHG: remopving petscversion

File size: 380 bytes
RevLine 
[16901]1function solverOptions=bcgslgamgoptions(varargin)
2
3%retrieve options provided in varargin
4options=pairoptions(varargin{:});
5solverOptions=struct();
6solverOptions.toolkit='petsc';
[20573]7solverOptions.mat_type=getfieldvalue(options, 'mat_type','mpiaij');
8solverOptions.ksp_type=getfieldvalue(options, 'ksp_type','bcgsl');
9solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'gamg');
Note: See TracBrowser for help on using the repository browser.