dolfinx.nls.petsc
Methods for solving nonlinear equations using PETSc solvers.
Classes
|
A Newton solver for non-linear problems. |
- class dolfinx.nls.petsc.NewtonSolver(comm: MPI.Intracomm, problem: NonlinearProblem)[source]
Bases:
NewtonSolver
A Newton solver for non-linear problems.
- property A: PETSc.Mat
Jacobian matrix
- property b: PETSc.Vec
Residual vector