1 |
#
|
2 |
# GMRES+ILU(k):
|
3 |
#-ksp_monitor
|
4 |
#-ksp_rtol 1.e-10
|
5 |
#-ksp_type gmres
|
6 |
#-ksp_gmres_restart 1000
|
7 |
#-pc_type ilu
|
8 |
-pc_factor_levels 2
|
9 |
#
|
10 |
# Direct solver
|
11 |
-ksp_type preonly
|
12 |
-pc_type lu
|
13 |
|
14 |
#-pc_factor_mat_solver_package umfpack
|
15 |
|
16 |
-pc_factor_mat_solver_package superlu
|
17 |
-mat_superlu_iterrefine double
|
18 |
-mat_superlu_conditionnumber true
|
19 |
-mat_superlu_printstat true
|
20 |
-mat_superlu_symmetricmode true
|
21 |
-mat_superlu_replacetinypivot true
|
22 |
-mat_superlu_pivotgrowth false
|
23 |
-mat_superlu_colperm COLAMD
|
24 |
-mat_superlu_diagpivotthresh 1.0
|
25 |
|
26 |
|
27 |
-pc_lu_mat_ordering_type rcm # natural, nd, 1wd, rcm, qmd
|
28 |
-petsc_prealloc 120
|
29 |
|
30 |
# parameters for Yousef's ZITSOL solver
|
31 |
#-zitsol
|
32 |
#-zitsol_precond 2 # preconditioner type (1=ILUT, 2=ARMS)
|
33 |
#-zitsol_lfil 30 # fill-in
|
34 |
#-zitsol_im 100 # Krylov subspace size
|
35 |
#-zitsol_maxits 200 # maximum number of iterations
|
36 |
#-zitsol_tol0 0.01 # threshold (ILUT) or dropping (ARMS) tolerance
|
37 |
#-zitsol_tol 1.e-10 # tolerance
|
38 |
|