dolfinx.cpp.nls.petsc

PETSc-specific nonlinear solvers

Classes

NewtonSolver(self, comm)

class dolfinx.cpp.nls.petsc.NewtonSolver(self, comm: MPICommWrapper)

Bases: object

property atol

Absolute tolerance

property convergence_criterion

Convergence criterion, either ‘residual’ (default) or ‘incremental’

property error_on_nonconvergence

(self) -> bool

property krylov_solver

(self) -> object

property max_it

Maximum number of iterations

property relaxation_parameter

Relaxation parameter

property report

(self) -> bool

property rtol

Relative tolerance

setF
setJ
setP
set_convergence_check
set_form
set_update
solve