nonzeros of a matrix

Satish Balay balay at mcs.anl.gov
Fri Aug 11 10:36:56 CDT 2006


You can run the code with -mat_view_info [to get the matrix info] and
-ksp_view - to get the info about the solvers [which include some
details about the ilu preconditioner]

Satish

On Fri, 11 Aug 2006, Margot Summer wrote:

> Hi,
> 
> Is there a simple way to get the number of nonzeros of
> a matrix? Further, how to find out the information
> about a matrix object in KSP/PC, e.g., the number of
> nonzeros of the preconditioner, or the number of
> nonzeros of the ilu(icc) factor? Thanks,
> 
> Margot 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 




More information about the petsc-users mailing list