source: issm/trunk-jpl/src/m/solvers/cgnoneoptions.m@ 22375

Last change on this file since 22375 was 22375, checked in by tsantos, 7 years ago

BUG: wrong function name in src/m/solvers/cgnoneoptions.m

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