Changeset 21341 for issm/trunk/src/m/solvers/ibcgsasmoptions.m
- Timestamp:
- 11/04/16 13:48:43 (8 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/m/solvers/ibcgsasmoptions.m
r17806 r21341 5 5 solverOptions=struct(); 6 6 solverOptions.toolkit='petsc'; 7 solverOptions.mat_type=getfieldvalue(options, 'mat_type','mpiaij'); 8 solverOptions.ksp_type=getfieldvalue(options, 'ksp_type','ibcgs'); 9 solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'asm'); 7 10 8 9 PETSC_VERSION=petscversion();10 if PETSC_VERSION==3,11 solverOptions.mat_type=getfieldvalue(options, 'mat_type','mpiaij');12 solverOptions.ksp_type=getfieldvalue(options, 'ksp_type','ibcgs');13 solverOptions.pc_type=getfieldvalue(options, 'pc_type', 'asm');14 end
Note:
See TracChangeset
for help on using the changeset viewer.