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>EPSJDSetInitialSize</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>EPSJDSetInitialSize</H1>
Sets the initial size of the searching space.
<H3><FONT COLOR="#883300">Synopsis</FONT></H3>
<PRE>
#include "slepceps.h"
PetscErrorCode EPSJDSetInitialSize(EPS eps,PetscInt initialsize)
</PRE>
Logically Collective on <A HREF="../EPS/EPS.html#EPS">EPS</A>
<P>
<H3><FONT COLOR="#883300">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>eps </B></TD><TD> - the eigenproblem solver context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>initialsize </B></TD><TD> - number of vectors of the initial searching subspace
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#883300">Options Database Key</FONT></H3>
<DT><B>-eps_jd_initial_size </B> - number of vectors of the initial searching subspace
<br>
<P>
<H3><FONT COLOR="#883300">Notes</FONT></H3>
If <A HREF="../EPS/EPSJDGetKrylovStart.html#EPSJDGetKrylovStart">EPSJDGetKrylovStart</A>() is PETSC_FALSE and the user provides vectors with
<A HREF="../EPS/EPSSetInitialSpace.html#EPSSetInitialSpace">EPSSetInitialSpace</A>(), up to initialsize vectors will be used; and if the
provided vectors are not enough, the solver completes the subspace with
random vectors. In the case of <A HREF="../EPS/EPSJDGetKrylovStart.html#EPSJDGetKrylovStart">EPSJDGetKrylovStart</A>() being PETSC_TRUE, the solver
gets the first vector provided by the user or, if not available, a random vector,
and expands the Krylov basis up to initialsize vectors.
<P>
<P>
<H3><FONT COLOR="#883300">See Also</FONT></H3>
<A HREF="../EPS/EPSJDGetInitialSize.html#EPSJDGetInitialSize">EPSJDGetInitialSize</A>(), <A HREF="../EPS/EPSJDGetKrylovStart.html#EPSJDGetKrylovStart">EPSJDGetKrylovStart</A>()
<BR><P><B><FONT COLOR="#883300">Location: </FONT></B><A HREF="../../../src/eps/impls/davidson/jd/jd.c.html#EPSJDSetInitialSize">src/eps/impls/davidson/jd/jd.c</A>
<BR><A HREF="./index.html">Index of all EPS 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>
|