sblauth / cashocs

computational adjoint-based shape optimization and optimal control software for python
https://cashocs.readthedocs.io/
GNU General Public License v3.0
53 stars 10 forks source link

[Development] Add a wrapper for PETSc's SNES Solver #441

Closed sblauth closed 5 months ago

sblauth commented 5 months ago

This would allow us to use all sophisticated methods implemented in PETSc to solve nonlinear problems and also reduce code required to do so. Moreover, #423 is already treated in SNES.

One thing that (perhaps) needs to be done: The KSP object of the SNES solver has to initialize the fieldsplit dof information, so that fieldsplit preconditioning can be used.