Last change
on this file was 21341, checked in by Mathieu Morlighem, 8 years ago |
merged trunk-jpl and trunk for revision 21337
|
File size:
379 bytes
|
Line | |
---|
1 | function solverOptions=dgmresmgoptions(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','dgmres');
|
---|
9 | solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'mg');
|
---|
10 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.