Changeset 12932
- Timestamp:
- 08/07/12 11:56:00 (13 years ago)
- Location:
- issm/trunk-jpl/src/m/model/solvers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/model/solvers/iluasmoptions.m ¶
r11871 r12932 10 10 11 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');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 16 iluasm.pc_asm_overlap=getfieldvalue(options,'pc_asm_overlap',5); 17 17 iluasm.ksp_max_it=getfieldvalue(options,'ksp_max_it',100); -
TabularUnified issm/trunk-jpl/src/m/model/solvers/iluasmoptions.py ¶
r12929 r12932 14 14 15 15 #default iluasm options 16 iluasm['mat_type']=options.getfieldvalue( "mat_type'",'aij')17 iluasm['ksp_type']=options.getfieldvalue( "ksp_type'",'gmres')18 iluasm['pc_type']=options.getfieldvalue( "pc_type'",'asm')19 iluasm['sub_pc_type']=options.getfieldvalue( "sub_pc_type'",'ilu')16 iluasm['mat_type']=options.getfieldvalue('mat_type','aij') 17 iluasm['ksp_type']=options.getfieldvalue('ksp_type','gmres') 18 iluasm['pc_type']=options.getfieldvalue('pc_type','asm') 19 iluasm['sub_pc_type']=options.getfieldvalue('sub_pc_type','ilu') 20 20 iluasm['pc_asm_overlap']=options.getfieldvalue('pc_asm_overlap',5) 21 21 iluasm['ksp_max_it']=options.getfieldvalue('ksp_max_it',100)
Note:
See TracChangeset
for help on using the changeset viewer.