Begin wrapping of SNESLineSearch in petsc4py

Open
#111 · Created  · Last updated

Description

Every now and again I’ve wanted to implement line search methods in petsc4py, but couldn’t because the relevant objects weren’t wrapped. This branch is an initial attempt to remedy this.

I’ve cargo-culted most of the stuff for making a new petsc4py class, so may have gotten this wrong. However, it compiles and works for me in my driver code.

I haven’t wrapped all of the methods (`vinorm`, `viproject`, etc) as I wanted to get feedback first.

0 attachments

0 comments

Loading commits...