|
Last change
on this file since 20574 was 20574, checked in by Mathieu Morlighem, 10 years ago |
|
CHG: remopving petscversion
|
|
File size:
377 bytes
|
| Rev | Line | |
|---|
| [16901] | 1 | function solverOptions=gmresmgoptions(varargin)
|
|---|
| 2 |
|
|---|
| 3 | %retrieve options provided in varargin
|
|---|
| 4 | options=pairoptions(varargin{:});
|
|---|
| 5 | solverOptions=struct();
|
|---|
| 6 | solverOptions.toolkit='petsc';
|
|---|
| [20574] | 7 | solverOptions.mat_type=getfieldvalue(options, 'mat_type','mpiaij');
|
|---|
| 8 | solverOptions.ksp_type=getfieldvalue(options, 'ksp_type','gmres');
|
|---|
| 9 | solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'mg');
|
|---|
| [16901] | 10 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.