MatZeroRows ignore negative indices?

Barry Smith bsmith at mcs.anl.gov
Thu Oct 22 19:13:43 CDT 2009


   No, there is no support for this. You should pass in an array that  
only contains the rows you want zeroed. You cannot pass in negative  
entries for row numbers.

    Barry

On Oct 22, 2009, at 5:38 PM, Pedro Juan Torres Lopez wrote:

> Hello,
>
> In MatZeroRows() if I put negative value in the 3rd argument  
> (rows[ ]) it will be ignored?. I'm sorry if I'm being repetitive  
> with this issue.
>
> Regards
>
> Pedro



More information about the petsc-users mailing list