SolverOptions Derived Type

type, public :: SolverOptions

Contains data used by the PETSc ksp solver to set various options (refer to PETSc manual)


Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: kspSolverType

String representing the ksp solver type

real(kind=rk), public :: solverToleranceRel = real(1.0d-17, kind=rk)

Relative solver tolerance

real(kind=rk), public :: solverToleranceAbs = real(1.0d-20, kind=rk)

Absolute solver tolerance

real(kind=rk), public :: solverToleranceDiv = real(1.0d07, kind=rk)

Solver divergence tolerance

integer(kind=ik), public :: maxSolverIters = 10000

Maximum number of solver iterations

character(len=:), public, allocatable :: hyprePC

String representing the hypre PC type

character(len=:), public, allocatable :: petscOptions

String representing command line style options