<div class="gmail_quote">On Tue, Nov 15, 2011 at 15:44, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
How about a SNES level interface that backs into the TS for the implementation? The thing is "if one is solving a nonlinear problem they should use the nonlinear solver interface" not a completely different interface that exists for a different purpose.</blockquote>
</div><br><div>Well, I don't choose KSP, SNES, or TS based on what kind of problem I'm trying to solve, I choose it based on how I want to describe the problem. So I might use SNES for a linear problem because I want to write a function to evaluate the RHS and a function to evaluate the Jacobian. And I might use TS for a steady problem because I want a principled way to do damping and to accelerate certain regions.</div>
<div><br></div><div>I think it would be more confusing to use SNES because then we would need to augment the SNES interface so the user can provide the IJacobian. Having another function signature that the user has to implement is BAD.</div>