Actual source code: linearp.h
1: /*
3: Private header for QEPLINEAR.
5: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6: SLEPc - Scalable Library for Eigenvalue Problem Computations
7: Copyright (c) 2002-2011, Universitat Politecnica de Valencia, Spain
9: This file is part of SLEPc.
10:
11: SLEPc is free software: you can redistribute it and/or modify it under the
12: terms of version 3 of the GNU Lesser General Public License as published by
13: the Free Software Foundation.
15: SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
16: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17: FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
18: more details.
20: You should have received a copy of the GNU Lesser General Public License
21: along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
22: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
23: */
25: typedef struct {
26: PetscBool explicitmatrix;
27: PetscInt cform; /* companion form */
28: PetscReal sfactor; /* scaling factor */
29: Mat A,B; /* matrices of generalized eigenproblem */
30: EPS eps; /* linear eigensolver for Az=lBz */
31: Mat M,C,K; /* copy of QEP coefficient matrices */
32: Vec x1,x2,y1,y2; /* work vectors */
33: PetscBool setfromoptionscalled;
34: } QEP_LINEAR;
36: /* N1 */
44: /* N2 */
52: /* S1 */
60: /* S2 */
68: /* H1 */
76: /* H2 */