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
|
<!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/MATSEQSBAIJ.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MATSEQSBAIJ</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</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.7.5 v3.7.5 docs/manualpages/Mat/MATSEQSBAIJ.html "><small>Report Typos and Errors</small></a></div>
<A NAME="MATSEQSBAIJ"><H1>MATSEQSBAIJ</H1></A>
<A HREF="../Mat/MATSEQSBAIJ.html#MATSEQSBAIJ">MATSEQSBAIJ</A> = "seqsbaij" - A matrix type to be used for sequential symmetric block sparse matrices, based on block compressed sparse row format. Only the upper triangular portion of the matrix is stored. For complex numbers by default this matrix is symmetric, NOT Hermitian symmetric. To make it Hermitian symmetric you
can call <A HREF="../Mat/MatSetOption.html#MatSetOption">MatSetOption</A>(<A HREF="../Mat/Mat.html#Mat">Mat</A>, MAT_HERMITIAN); after <A HREF="../Mat/MatAssemblyEnd.html#MatAssemblyEnd">MatAssemblyEnd</A>()
<P>
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
. -mat_type seqsbaij - sets the matrix type to "seqsbaij" during a call to <A HREF="../Mat/MatSetFromOptions.html#MatSetFromOptions">MatSetFromOptions</A>()
<P>
Notes: By default if you insert values into the lower triangular part of the matrix they are simply ignored (since they are not
stored and it is assumed they symmetric to the upper triangular). If you call <A HREF="../Mat/MatSetOption.html#MatSetOption">MatSetOption</A>(<A HREF="../Mat/Mat.html#Mat">Mat</A>,MAT_IGNORE_LOWER_TRIANGULAR,<A HREF="../Sys/PETSC_FALSE.html#PETSC_FALSE">PETSC_FALSE</A>) or use
the options database -mat_ignore_lower_triangular false it will generate an error if you try to set a value in the lower triangular portion.
<P>
<P>
<P>
.seealso: <A HREF="../Mat/MatCreateSeqSBAIJ.html#MatCreateSeqSBAIJ">MatCreateSeqSBAIJ</A>
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/mat/impls/sbaij/seq/sbaij.c.html#MATSEQSBAIJ">src/mat/impls/sbaij/seq/sbaij.c</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>
|