request for advice cleaning up SNES

Lisandro Dalcin dalcinl at gmail.com
Mon Sep 3 15:59:32 CDT 2007


On 9/3/07, Matthew Knepley <knepley at gmail.com> wrote:
> On 9/3/07, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> > In de process of cleaning up SNES, I am not sure about the management
> > of afine (rhs) vector.
>
> I think it should be destroyed.

I think the same. I think I'll do that.

>
> > BTW, I believe in the past you had and next removed
> > KSPSetRhs()/KSPSetSolution() . Should this approach be also followed
> > in SNES?
>
> Not sure. Why are these there?

I do not know. If you grep in petsc-dev,
SNESSetRhs()/SNESSetSolution() are not used in any place other than
SNES interface.

Do you think we can get rid of these two funtions and follow the
behavior of KSP?




-- 
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