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 37 38 39 40 41 42 43 44 45 46
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<link rel="stylesheet" href="/slepc/slepc.css" type="text/css">
<TITLE>SlepcMatGetVecsTemplate</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>SlepcMatGetVecsTemplate</H1>
Get vectors compatible with a matrix, i.e. with the same parallel layout, and mark them as templates for contiguous storage.
<H3><FONT COLOR="#883300">Synopsis</FONT></H3>
<PRE>
#include "slepcvec.h"
PetscErrorCode SlepcMatGetVecsTemplate(Mat mat,Vec *right,Vec *left)
</PRE>
Collective on Mat
<P>
<H3><FONT COLOR="#883300">Input Parameter</FONT></H3>
<DT><B>mat </B> - the matrix
<br>
<P>
<H3><FONT COLOR="#883300">Output Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>right </B></TD><TD> - (optional) vector that the matrix can be multiplied against
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>left </B></TD><TD> - (optional) vector that the matrix vector product can be stored in
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#883300">Options Database Keys</FONT></H3>
<DT><B>-slepc_non_contiguous </B> - Disable contiguous vector storage
<br>
<P>
<H3><FONT COLOR="#883300">Notes</FONT></H3>
Use -slepc_non_contiguous to disable contiguous storage throughout SLEPc.
Contiguous storage is currently also disabled in AIJCUSP matrices.
<P>
<P>
<H3><FONT COLOR="#883300">See Also</FONT></H3>
<A HREF="../sys/SlepcVecSetTemplate.html#SlepcVecSetTemplate">SlepcVecSetTemplate</A>()
<BR><P><B><FONT COLOR="#883300">Location: </FONT></B><A HREF="../../../src/vec/contiguous.c.html#SlepcMatGetVecsTemplate">src/vec/contiguous.c</A>
<BR><A HREF="./index.html">Index of all sys 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>
|