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
|
Rev | Line | |
---|
[22375] | 1 | function solverOptions=cgnoneoptions(varargin)
|
---|
[20577] | 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','cg');
|
---|
| 9 | solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'none');
|
---|
| 10 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.