In de process of cleaning up SNES, I am not sure about the management
of afine (rhs) vector. So the question is:

If the user call:

SNESSolve(PETSC_NULL, x)

should any previously set (VecSetRhs) afine vector be destroyed/zeroed
or should it not be touched in any way?

BTW, I believe in the past you had and next removed
KSPSetRhs()/KSPSetSolution() . Should this approach be also followed
in SNES? IMHO, the final interface would be simpler and less
error-prone.




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


Reply via email to