Nonlinear and constrained solvers
If I have correctly understood currently FEnics uses only the linear solvers of Petsc. Have you any plan to include an interface also for Petsc non-linear solvers (SNES objects)? What SNES objects require are just functions to evaluate the gradient and the Jacobian of the (nonlinear) functional to be minimized. I think it will be extremely interesting for many users because recent versions of Petsc include also bound constrained solvers which may be easily applied to solve variational inequalities (e.g. problem arising in contact or damage mechanics). See http://
I wonder if you plan to support this in FEnics.
Otherwise, do you think it may be feasible to couple FEnics (for matrix assembly) with petsc4py (for solvers) in a single python program? Has anyone tried to do this?
Sincerely,
Corrado Maurini
University Pierre et Marie Curie
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask corrado maurini for more information if necessary.