MatConvert with same+reuse+inplace

Lisandro Dalcin dalcinl at gmail.com
Tue Feb 5 12:49:41 CST 2008


What is the expected behavior of the following, assuming option
'-matconvert_type' is not given?

MatConvert(A, MATSAME, MAT_REUSE_MATRIX, &A)

Should it be a no-op? I have to ask because if that is the case, It
seems the current code is broken. I'm missing something?

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