Bases: dolfin.cpp.la.PETScObject
This class implements methods for solving nonlinear systems via PETSc’s SNES interface. It includes line search and trust region techniques for globalising the convergence of the nonlinear iteration.
Create SNES solver for a particular method
Default parameter values
Set up the SNES object, but don’t do anything yet, in case the user wants to access the SNES object directly
Return a list of available solver methods
Overloaded versions
solve(nonlinear_problem, x, lb, ub)
Solve a nonlinear variational inequality with bound constraints
The nonlinear problem.
The vector.
The lower bound.
The upper bound.
Pair of number of Newton iterations, and whether iteration converged)
solve(nonlinear_function, x)
Solve abstract nonlinear problem \(F(x) = 0\) for given \(F\) and Jacobian \(\dfrac{\partial F}{\partial x}\).
The nonlinear problem.
The vector.
Pair of number of Newton iterations, and whether iteration converged)
The membership flag