[petsc-dev] MatZeroRows(), MatZeroRowsIS() have new arguments

Barry Smith bsmith at mcs.anl.gov
Wed Oct 27 07:47:18 CDT 2010


On Oct 27, 2010, at 1:38 AM, Lisandro Dalcin wrote:

> On 27 October 2010 05:07, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> 
>>   MatZeroRows(), MatZeroRowsIS()  and MatZeroRowsLocal(), MatZeroRowsLocalIS()  now take optional x and b vectors. The b[index[]] is set to diag*x[index[]] if the b and x are provided.
>> 
> 
> Have you considered the possibility of also passing different diag
> values for each index? This would be handy for algebraic multigrid...

   I've considered it but have not seen a specific need. Do you have examples where it really matters?

   Barry

> 
> 
> -- 
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169




More information about the petsc-dev mailing list