Last change
on this file since 12932 was 12932, checked in by jschierm, 13 years ago |
CHG: Fixed some typos, according to Mathieu.
|
File size:
636 bytes
|
Line | |
---|
1 | function iluasm=iluasmoptions(varargin)
|
---|
2 | %ILUASMOPTIONS -
|
---|
3 | %
|
---|
4 | % Usage:
|
---|
5 | % options=iluasmoptions;
|
---|
6 |
|
---|
7 | %retrieve options provided in varargin
|
---|
8 | options=pairoptions(varargin{:});
|
---|
9 | iluasm=struct();
|
---|
10 |
|
---|
11 | %default iluasm options
|
---|
12 | iluasm.mat_type=getfieldvalue(options,'mat_type','aij');
|
---|
13 | iluasm.ksp_type=getfieldvalue(options,'ksp_type','gmres');
|
---|
14 | iluasm.pc_type=getfieldvalue(options,'pc_type','asm');
|
---|
15 | iluasm.sub_pc_type=getfieldvalue(options,'sub_pc_type','ilu');
|
---|
16 | iluasm.pc_asm_overlap=getfieldvalue(options,'pc_asm_overlap',5);
|
---|
17 | iluasm.ksp_max_it=getfieldvalue(options,'ksp_max_it',100);
|
---|
18 | iluasm.ksp_rtol=getfieldvalue(options,'ksp_rtol',1e-15);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.