adding SNESSetLinearSolve()

Lisandro Dalcin dalcinl at gmail.com
Mon Oct 29 15:31:13 CDT 2007


On 10/29/07, Richard Tran Mills <rmills at ornl.gov> wrote:
> Barry,
>
> That accomplishes essentially the same thing as Lisandro's proposed
> SNESSetLinearSolve() but is more consistent with the existing framework of
> PETSc.

> it seems like there ought to be a KSP shell option.  But what might
> this mess up?

But if what you really need is to implement your KSPSHELL->Solve(b,x)
by internally using a standard PETSc KSP, then it seems to me bit
heavy-weight approach. That the reason I asked for a
SNESSetLinearSolve().


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594




More information about the petsc-dev mailing list