adding error checking to MatGetDiagonalBlock()
    Barry Smith 
    bsmith at mcs.anl.gov
       
    Tue May  5 15:26:44 CDT 2009
    
    
  
On May 5, 2009, at 10:52 AM, Lisandro Dalcin wrote:
> I want to add error checking to MatGetDiagonalBlock().
>
> * Does it make sense to require PetscValidType()?
> * Should it fail if (!mat->assembled || mat->factor)?
    Yes, I think so.
>
>
> -- 
> 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