| 12
 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
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 
 | <!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>EPSSetProblemType</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>EPSSetProblemType</H1>
Specifies the type of the eigenvalue problem. 
<H3><FONT COLOR="#883300">Synopsis</FONT></H3>
<PRE>
#include "slepceps.h" 
PetscErrorCode EPSSetProblemType(EPS eps,EPSProblemType type)
</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 eigensolver context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>type     </B></TD><TD> - a known type of eigenvalue problem 
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#883300">Options Database Keys</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-eps_hermitian </B></TD><TD> - Hermitian eigenvalue problem
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-eps_gen_hermitian </B></TD><TD> - generalized Hermitian eigenvalue problem
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-eps_non_hermitian </B></TD><TD> - non-Hermitian eigenvalue problem
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-eps_gen_non_hermitian </B></TD><TD> - generalized non-Hermitian eigenvalue problem 
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-eps_pos_gen_non_hermitian </B></TD><TD> - generalized non-Hermitian eigenvalue problem 
with positive semi-definite B
</TD></TR></TABLE>
<H3><FONT COLOR="#883300">Notes</FONT></H3>
Allowed values for the problem type are: Hermitian (EPS_HEP), non-Hermitian
(EPS_NHEP), generalized Hermitian (EPS_GHEP), generalized non-Hermitian
(EPS_GNHEP), and generalized non-Hermitian with positive semi-definite B
(EPS_PGNHEP).
<P>
This function must be used to instruct SLEPc to exploit symmetry. If no
problem type is specified, by default a non-Hermitian problem is assumed
(either standard or generalized). If the user knows that the problem is
Hermitian (i.e. A=A^H) or generalized Hermitian (i.e. A=A^H, B=B^H, and
B positive definite) then it is recommended to set the problem type so
that eigensolver can exploit these properties.
<P>
<P>
<H3><FONT COLOR="#883300">See Also</FONT></H3>
 <A HREF="../EPS/EPSSetOperators.html#EPSSetOperators">EPSSetOperators</A>(), <A HREF="../EPS/EPSSetType.html#EPSSetType">EPSSetType</A>(), <A HREF="../EPS/EPSGetProblemType.html#EPSGetProblemType">EPSGetProblemType</A>(), <A HREF="../EPS/EPSProblemType.html#EPSProblemType">EPSProblemType</A>
<BR><P><B><FONT COLOR="#883300">Location: </FONT></B><A HREF="../../../src/eps/interface/opts.c.html#EPSSetProblemType">src/eps/interface/opts.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>
<P><H3><FONT COLOR="#883300">Examples</FONT></H3>
<A HREF="../../../src/eps/examples/tutorials/ex1.c.html">src/eps/examples/tutorials/ex1.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex2.c.html">src/eps/examples/tutorials/ex2.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex3.c.html">src/eps/examples/tutorials/ex3.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex5.c.html">src/eps/examples/tutorials/ex5.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex9.c.html">src/eps/examples/tutorials/ex9.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex11.c.html">src/eps/examples/tutorials/ex11.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex12.c.html">src/eps/examples/tutorials/ex12.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex13.c.html">src/eps/examples/tutorials/ex13.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex18.c.html">src/eps/examples/tutorials/ex18.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex19.c.html">src/eps/examples/tutorials/ex19.c.html</A><BR>
<A HREF="../../../src/eps/examples/tutorials/ex1f.F.html">src/eps/examples/tutorials/ex1f.F.html</A><BR>
</BODY></HTML>
 |