[petsc-users] a quick question about index out of range in	MatSetValues
    Panruo Wu 
    pwu at mymail.mines.edu
       
    Sun Sep 18 11:51:51 CDT 2011
    
    
  
Dear list,
I read in the MatSetValues documentation and found that
Negative indices may be passed in idxm and idxn, these rows and columns are
> simply ignored
I wonder if it's still the case when passing row or column indices larger
than matrix dimensions.
If it's true it's very handy to assemble matrix of homogeneous dirichlet
boundary condition.
Thanks,
Robb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110918/e6c7087f/attachment.htm>
    
    
More information about the petsc-users
mailing list