The line search routines exposed through petscsnes.h (SNESXXXLineSearch and ilk) live in src/snes/ls are dependent on the private context of the ls newton method. This seems to have caused a fairly large degree of code duplication of useful pieces in ls, picard, and qn.<br>
<br>Would moving all of these somewhere else and removing their dependency on ls specific solver context be a reasonable course of action?<br><br>- Peter<br>