Actual source code: slepcsys.h
1: /*
2: This is the main SLEPc include file (for C and C++). It is included
3: by all other SLEPc include files, so it almost never has to be
4: specifically included.
6: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7: SLEPc - Scalable Library for Eigenvalue Problem Computations
8: Copyright (c) 2002-2010, Universidad Politecnica de Valencia, Spain
10: This file is part of SLEPc.
11:
12: SLEPc is free software: you can redistribute it and/or modify it under the
13: terms of version 3 of the GNU Lesser General Public License as published by
14: the Free Software Foundation.
16: SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
17: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18: FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
19: more details.
21: You should have received a copy of the GNU Lesser General Public License
22: along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
23: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
24: */
29: /* ========================================================================== */
30: /*
31: Current SLEPc version number and release date
32: */
33: #include slepcversion.h
35: /* ========================================================================== */
36: /*
37: The PETSc include files.
38: */
39: #include "petsc.h"
40: #include "petscvec.h"
41: #include "petscmat.h"
44: /*
45: Initialization of SLEPc and other system routines
46: */
47: EXTERN PetscErrorCode SlepcInitialize(int*,char***,char[],const char[]);
48: EXTERN PetscErrorCode SlepcFinalize(void);
49: EXTERN PetscErrorCode SlepcInitializeFortran(void);
51: EXTERN PetscErrorCode SlepcVecSetRandom(Vec,PetscRandom);
52: EXTERN PetscErrorCode SlepcIsHermitian(Mat,PetscTruth*);
53: #if !defined(PETSC_USE_COMPLEX)
54: EXTERN PetscReal SlepcAbsEigenvalue(PetscScalar,PetscScalar);
55: #else
56: #define SlepcAbsEigenvalue(x,y) PetscAbsScalar(x)
57: #endif
58: EXTERN PetscErrorCode SlepcVecNormalize(Vec,Vec,PetscTruth,PetscReal*);
59: EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
60: EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec *,PetscInt,Mat,PetscScalar*);
61: EXTERN PetscErrorCode SlepcUpdateVectors(PetscInt,Vec*,PetscInt,PetscInt,const PetscScalar*,PetscInt,PetscTruth);
62: EXTERN PetscErrorCode SlepcUpdateStrideVectors(PetscInt n_,Vec *V,PetscInt s,PetscInt d,PetscInt e,const PetscScalar *Q,PetscInt ldq_,PetscTruth qtrans);
63: EXTERN PetscErrorCode SlepcVecMAXPBY(Vec,PetscScalar,PetscScalar,PetscInt,PetscScalar*,Vec*);
64:
68: #endif