[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request for advice cleaning up SNES



On 9/3/07, Matthew Knepley <knepley@xxxxxxxxx> wrote:
> On 9/3/07, Lisandro Dalcin <dalcinl@xxxxxxxxx> 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