petsc4py.PETSc.KSP.CGTRNormType#

class petsc4py.PETSc.KSP.CGTRNormType#

Bases: object

KSPCG norm types for the trust-region constraint.

PRECONDITIONED

Use the norm induced by the symmetric positive definite matrix whose inverse is applied by the preconditioner.

UNPRECONDITIONED

Use the Euclidean norm (default).

Attributes Summary

PRECONDITIONED

Constant PRECONDITIONED of type int

UNPRECONDITIONED

Constant UNPRECONDITIONED of type int

Attributes Documentation

PRECONDITIONED: int = PRECONDITIONED#

Constant PRECONDITIONED of type int

UNPRECONDITIONED: int = UNPRECONDITIONED#

Constant UNPRECONDITIONED of type int