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

Lisandro Dalcin dalcinl at gmail.com
Wed Oct 27 01:38:31 CDT 2010


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


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