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
|
<!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>SlepcVecSetTemplate</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>SlepcVecSetTemplate</H1>
Sets a vector as a template for contiguous storage.
<H3><FONT COLOR="#883300">Synopsis</FONT></H3>
<PRE>
#include "slepcvec.h"
#include "petscvec.h"
PetscErrorCode SlepcVecSetTemplate(Vec v)
</PRE>
Collective on Vec
<P>
<H3><FONT COLOR="#883300">Input Parameters</FONT></H3>
<DT><B>v </B> - the vector
<br>
<P>
<H3><FONT COLOR="#883300">Note</FONT></H3>
Once this function is called, subsequent calls to VecDuplicateVecs()
with this vector will use a special version that generates vectors with
contiguous storage, that is, the array of values of V[1] immediately
follows the array of V[0], and so on.
<P>
<P><B><FONT COLOR="#883300">Location: </FONT></B><A HREF="../../../src/vec/contiguous.c.html#SlepcVecSetTemplate">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>
|