1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatInfo.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MatInfo</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.14.5 2021-03-03</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/Mat/MatInfo.html "><small>Report Typos and Errors</small></a></div>
<A NAME="MatInfo"><H1>MatInfo</H1></A>
Context of matrix information, used with <A HREF="../Mat/MatGetInfo.html#MatGetInfo">MatGetInfo</A>()
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
typedef struct {
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> block_size; /* block size */
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> nz_allocated,nz_used,nz_unneeded; /* number of nonzeros */
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> memory; /* memory allocated */
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> assemblies; /* number of matrix assemblies called */
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> mallocs; /* number of mallocs during <A HREF="../Mat/MatSetValues.html#MatSetValues">MatSetValues</A>() */
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> fill_ratio_given,fill_ratio_needed; /* fill ratio for LU/ILU */
<A HREF="../Sys/PetscLogDouble.html#PetscLogDouble">PetscLogDouble</A> factor_mallocs; /* number of mallocs during factorization */
} <A HREF="../Mat/MatInfo.html#MatInfo">MatInfo</A>;
</PRE>
In Fortran this is simply a double precision array of dimension MAT_INFO_SIZE
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Mat/MatGetInfo.html#MatGetInfo">MatGetInfo</A>(), <A HREF="../Mat/MatInfoType.html#MatInfoType">MatInfoType</A>
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>intermediate<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/mat/../../include/petscmat.h.html#MatInfo">src/mat/../../include/petscmat.h</A>
<BR><A HREF="./index.html">Index of all Mat routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|