source: issm/branches/trunk-jpl-damage/src/m/model/solvers/jacobicgoptions.m@ 12004

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 
1function 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
8options=pairoptions(varargin{:});
9jacobicg=struct();
10
11%default jacobiasm options
12jacobicg.mat_type=getfieldvalue(options,'mat_type','aij');
13jacobicg.ksp_type=getfieldvalue(options,'ksp_type','cg');
14jacobicg.ksp_max_it=getfieldvalue(options,'ksp_max_it',100);
15jacobicg.ksp_rtol=getfieldvalue(options,'ksp_rtol',1e-15);
Note: See TracBrowser for help on using the repository browser.