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 47 48 49 50 51 52 53 54 55 56 57
|
<!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>QEPSetProblemType</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>QEPSetProblemType</H1>
Specifies the type of the quadratic eigenvalue problem.
<H3><FONT COLOR="#883300">Synopsis</FONT></H3>
<PRE>
#include "slepcqep.h"
PetscErrorCode QEPSetProblemType(QEP qep,QEPProblemType type)
</PRE>
Logically Collective on <A HREF="../QEP/QEP.html#QEP">QEP</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>qep </B></TD><TD> - the quadratic eigensolver context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>type </B></TD><TD> - a known type of quadratic 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>-qep_general </B></TD><TD> - general problem with no particular structure
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-qep_hermitian </B></TD><TD> - problem whose coefficient matrices are Hermitian
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-qep_gyroscopic </B></TD><TD> - problem with Hamiltonian structure
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#883300">Notes</FONT></H3>
Allowed values for the problem type are: general (QEP_GENERAL), Hermitian
(QEP_HERMITIAN), and gyroscopic (QEP_GYROSCOPIC).
<P>
This function is used to instruct SLEPc to exploit certain structure in
the quadratic eigenproblem. By default, no particular structure is assumed.
<P>
If the problem matrices are Hermitian (symmetric in the real case) or
Hermitian/skew-Hermitian then the solver can exploit this fact to perform
less operations or provide better stability.
<P>
<P>
<H3><FONT COLOR="#883300">See Also</FONT></H3>
<A HREF="../QEP/QEPSetOperators.html#QEPSetOperators">QEPSetOperators</A>(), <A HREF="../QEP/QEPSetType.html#QEPSetType">QEPSetType</A>(), <A HREF="../QEP/QEPGetProblemType.html#QEPGetProblemType">QEPGetProblemType</A>(), <A HREF="../QEP/QEPProblemType.html#QEPProblemType">QEPProblemType</A>
<BR><P><B><FONT COLOR="#883300">Location: </FONT></B><A HREF="../../../src/qep/interface/qepopts.c.html#QEPSetProblemType">src/qep/interface/qepopts.c</A>
<BR><A HREF="./index.html">Index of all QEP 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/qep/examples/tutorials/ex16.c.html">src/qep/examples/tutorials/ex16.c.html</A><BR>
<A HREF="../../../src/qep/examples/tutorials/ex16f90.F90.html">src/qep/examples/tutorials/ex16f90.F90.html</A><BR>
</BODY></HTML>
|