xref: /petsc/src/snes/tutorials/network/water/wateroptions (revision 6a98f8dc3f2c9149905a87dc2e9d0fedaf64e09a)
1# SNES (nonlinear solver) options
2# Newton method
3-waternet_snes_type newtonls
4# Absolute and relative tolerances
5-waternet_snes_atol 1e-8
6-waternet_snes_rtol 1e-20
7# Line search method (bt and l2 lead to converge, basic diverges)
8-waternet_snes_linesearch_type l2
9# Finite differenced Jacobian
10-waternet_snes_fd
11
12# KSP (linear solver) options
13-waternet_ksp_type gmres
14
15# PC (preconditioner) options
16-waternet_pc_type bjacobi
17-waternet_sub_pc_type lu
18-waternet_sub_pc_factor_mat_ordering_type qmd
19