Last change
on this file since 12004 was 12004, checked in by cborstad, 13 years ago |
merged trunk-jpl into trunk-jpl-damage through revision 11990
|
File size:
539 bytes
|
Line | |
---|
1 | function jacobicg=jacobiacgoptions(varargin)
|
---|
2 | %ASMOPTIONS - return Additive Shwartz Method with Jacobi preconditioner petsc options
|
---|
3 | %
|
---|
4 | % Usage:
|
---|
5 | % options=jacobiasmoptions;
|
---|
6 |
|
---|
7 | %retrieve options provided in varargin
|
---|
8 | options=pairoptions(varargin{:});
|
---|
9 | jacobicg=struct();
|
---|
10 |
|
---|
11 | %default jacobiasm options
|
---|
12 | jacobicg.mat_type=getfieldvalue(options,'mat_type','aij');
|
---|
13 | jacobicg.ksp_type=getfieldvalue(options,'ksp_type','cg');
|
---|
14 | jacobicg.ksp_max_it=getfieldvalue(options,'ksp_max_it',100);
|
---|
15 | jacobicg.ksp_rtol=getfieldvalue(options,'ksp_rtol',1e-15);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.