Skip to content

PETSc

Diag_Preconditionner

Diag_Preconditionner option

This keyword selects the matrix preconditionner used by PETSc.

Options include: bjacobi, asm. Default is bjacobi.

If asm is selected then you must specify the overlap level and the sub_pc ILU level (see PETSc manual): Diag_Preconditionner asm 4 2

KSPRelativeTolerance

KSPRelativeTolerance value Default is $10^{-5}$.

KSPGMRESSetRestart

KSPGMRESSetRestart value

Default is 100. Lower values yield to poor convergence. See: https://petsc.org/release/manualpages/KSP/KSPGMRESSetRestart/

Max_KSP_Iterations

Max_KSP_Iterations value

Max_KSP_Iterations_First_Timesteps

Max_KSP_Iterations_First_Timesteps value

Max_Newton_Iterations

Max_Newton_Iterations value

Min_Newton_Iterations

Min_Newton_Iterations value

NumericalDerivatives

NumericalDerivatives true/false

Default is false. This option can be used by the developers to debug the code.