Changeset 21988
- Timestamp:
- 08/23/17 10:45:53 (8 years ago)
- Location:
- issm/trunk-jpl/src/m/solvers
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solvers/asmoptions.m
r14610 r21988 11 11 %default asm options 12 12 asm.toolkit='petsc'; 13 asm.mat_type=getfieldvalue(options,'mat_type',' aij');13 asm.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 14 14 asm.ksp_type=getfieldvalue(options,'ksp_type','gmres'); 15 15 asm.pc_type=getfieldvalue(options,'pc_type','asm'); -
issm/trunk-jpl/src/m/solvers/asmoptions.py
r17497 r21988 10 10 arguments=pairoptions.pairoptions(*args) 11 11 12 options=[['toolkit','petsc'],['mat_type',' aij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','lu'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-30]];12 options=[['toolkit','petsc'],['mat_type','mpiaij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','lu'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-30]]; 13 13 14 14 #now, go through our arguments, and write over default options. -
issm/trunk-jpl/src/m/solvers/iluasmoptions.m
r20574 r21988 9 9 iluasm=struct(); 10 10 iluasm.toolkit='petsc'; 11 iluasm.mat_type=getfieldvalue(options,'mat_type',' aij');11 iluasm.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 12 12 iluasm.ksp_type=getfieldvalue(options,'ksp_type','gmres'); 13 13 iluasm.pc_type=getfieldvalue(options,'pc_type','asm'); -
issm/trunk-jpl/src/m/solvers/iluasmoptions.py
r17497 r21988 16 16 #default iluasm options 17 17 iluasm['toolkit']='petsc' 18 iluasm['mat_type']=options.getfieldvalue('mat_type',' aij')18 iluasm['mat_type']=options.getfieldvalue('mat_type','mpiaij') 19 19 iluasm['ksp_type']=options.getfieldvalue('ksp_type','gmres') 20 20 iluasm['pc_type']=options.getfieldvalue('pc_type','asm') -
issm/trunk-jpl/src/m/solvers/jacobiasmoptions.m
r14610 r21988 11 11 %default jacobiasm options 12 12 jacobiasm.toolkit='petsc'; 13 jacobiasm.mat_type=getfieldvalue(options,'mat_type',' aij');13 jacobiasm.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 14 14 jacobiasm.ksp_type=getfieldvalue(options,'ksp_type','gmres'); 15 15 jacobiasm.pc_type=getfieldvalue(options,'pc_type','asm'); -
issm/trunk-jpl/src/m/solvers/jacobiasmoptions.py
r17497 r21988 10 10 arguments=pairoptions.pairoptions(*args) 11 11 12 options=[['toolkit','petsc'],['mat_type',' aij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','jacobi'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-15]];12 options=[['toolkit','petsc'],['mat_type','mpiaij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','jacobi'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-15]]; 13 13 14 14 #now, go through our arguments, and write over default options. -
issm/trunk-jpl/src/m/solvers/jacobicgoptions.m
r14610 r21988 11 11 %default jacobiasm options 12 12 jacobicg.toolkit='petsc'; 13 jacobicg.mat_type=getfieldvalue(options,'mat_type',' aij');13 jacobicg.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 14 14 jacobicg.ksp_type=getfieldvalue(options,'ksp_type','cg'); 15 15 jacobicg.ksp_max_it=getfieldvalue(options,'ksp_max_it',100); -
issm/trunk-jpl/src/m/solvers/jacobicgoptions.py
r17497 r21988 10 10 arguments=pairoptions.pairoptions(*args) 11 11 12 options=[['toolkit','petsc'],['mat_type',' aij'],['ksp_type','cg'],['ksp_max_it',100],['ksp_rtol',1e-15]];12 options=[['toolkit','petsc'],['mat_type','mpiaij'],['ksp_type','cg'],['ksp_max_it',100],['ksp_rtol',1e-15]]; 13 13 14 14 #now, go through our arguments, and write over default options. -
issm/trunk-jpl/src/m/solvers/soroptions.m
r14610 r21988 11 11 %default sor options 12 12 sor.toolkit='petsc'; 13 sor.mat_type=getfieldvalue(options,'mat_type',' aij');13 sor.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 14 14 sor.ksp_type=getfieldvalue(options,'ksp_type','cg'); 15 15 sor.pc_type=getfieldvalue(options,'pc_type','sor'); -
issm/trunk-jpl/src/m/solvers/soroptions.py
r17497 r21988 10 10 arguments=pairoptions.pairoptions(*args) 11 11 12 options=[['toolkit','petsc'],['mat_type',' aij'],['ksp_type','cg'],['pc_type','sor'],['pc_sor_omega',1.1],['pc_sor_its',2]];12 options=[['toolkit','petsc'],['mat_type','mpiaij'],['ksp_type','cg'],['pc_type','sor'],['pc_sor_omega',1.1],['pc_sor_its',2]]; 13 13 14 14 #now, go through our arguments, and write over default options.
Note:
See TracChangeset
for help on using the changeset viewer.