Actual source code: slepcimpl.h
1: /*
2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: SLEPc - Scalable Library for Eigenvalue Problem Computations
4: Copyright (c) 2002-2011, Universitat Politecnica de Valencia, Spain
6: This file is part of SLEPc.
7:
8: SLEPc is free software: you can redistribute it and/or modify it under the
9: terms of version 3 of the GNU Lesser General Public License as published by
10: the Free Software Foundation.
12: SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
13: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14: FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15: more details.
17: You should have received a copy of the GNU Lesser General Public License
18: along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
19: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20: */
22: #ifndef _SLEPCIMPL
23: #define _SLEPCIMPL
25: #include <slepcsys.h>
27: /* context for monitors of type XXXMonitorConverged */
28: struct _n_SlepcConvMonitor {
29: PetscViewer viewer;
30: PetscInt oldnconv;
31: };
32: typedef struct _n_SlepcConvMonitor* SlepcConvMonitor;
34: /* Private functions that are shared by several classes */
36: extern PetscErrorCode DenseSelectedEvec(PetscScalar*,PetscInt,PetscScalar*,PetscScalar*,PetscInt,PetscBool,PetscInt,PetscScalar*);
37: extern PetscErrorCode SlepcConvMonitorDestroy(SlepcConvMonitor *ctx);
39: #endif