fixes for VecPlaceArray/VecResetArray

Lisandro Dalcin dalcinl at
Wed Dec 3 17:04:01 CST 2008

I've pushed some fixes for VecPlaceArray/VecResetArray, trying to the
pair a bit more smarter. However, the I'm not sure what's the use case
in VecPlaceArray for accepting NULL for the array. Just in case, I did
not changed this, but if NULL is actually pased, then the call is now
non-op. Is this fine? 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