source: issm/trunk/src/m/model/solvers/jacobiasmoptions.m@ 11995

Last change on this file since 11995 was 11995, checked in by Mathieu Morlighem, 13 years ago

merged trunk-jpl and trunk for revision 11994M

File size: 743 bytes
Line 
1function jacobiasm=jacobiasmoptions(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{:});
9jacobiasm=struct();
10
11%default jacobiasm options
12jacobiasm.mat_type=getfieldvalue(options,'mat_type','aij');
13jacobiasm.ksp_type=getfieldvalue(options,'ksp_type','gmres');
14jacobiasm.pc_type=getfieldvalue(options,'pc_type','asm');
15jacobiasm.sub_pc_type=getfieldvalue(options,'sub_pc_type','jacobi');
16jacobiasm.pc_asm_overlap=getfieldvalue(options,'pc_asm_overlap',3);
17jacobiasm.ksp_max_it=getfieldvalue(options,'ksp_max_it',100);
18jacobiasm.ksp_rtol=getfieldvalue(options,'ksp_rtol',1e-15);
Note: See TracBrowser for help on using the repository browser.