MAT_KEEP_ZEROED_ROWS && MatZeroRows() on empty rows.

Barry Smith bsmith at mcs.anl.gov
Tue Jun 2 16:55:32 CDT 2009


On Jun 2, 2009, at 4:45 PM, Lisandro Dalcin wrote:

> On Tue, Jun 2, 2009 at 6:15 PM, Barry Smith <bsmith at mcs.anl.gov>  
> wrote:
>>
>>  MAT_KEEP_ZEROED_ROWS is a bad name for the option. It should be
>> MAT_KEEP_NONZERO_STRUCTURE
>> The error is correct because putting the diagonal value in will  
>> change the
>> nonzero structure in this case.
>>
>>   I will change MAT_KEEP_ZEROED_ROWS to MAT_KEEP_NONZERO_STRUCTURE in
>> petsc-dev unless
>> someone points out that I am wrong.
>>
>
> I'm fine with this, though I would suggest MAT_KEEP_NONZERO_PATTERN,
                                                                                                                            ^ 
^^^^^^^^^^

   Yup, thanks

    Barry

>
> just for consistency with other names.
>
>
> -- 
> 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