| 6 |
dsic.upv.es!jroman |
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.
|
| 1376 |
slepc |
5 |
|
|
|
6 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
| 1672 |
slepc |
7 |
SLEPc - Scalable Library for Eigenvalue Problem Computations
|
| 2116 |
eromero |
8 |
Copyright (c) 2002-2010, Universidad Politecnica de Valencia, Spain
|
| 1376 |
slepc |
9 |
|
| 1672 |
slepc |
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.
|
|
|
15 |
|
|
|
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.
|
|
|
20 |
|
|
|
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/>.
|
| 1376 |
slepc |
23 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
| 6 |
dsic.upv.es!jroman |
24 |
*/
|
| 1376 |
slepc |
25 |
|
| 6 |
dsic.upv.es!jroman |
26 |
#if !defined(__SLEPC_H)
|
|
|
27 |
#define __SLEPC_H
|
|
|
28 |
|
|
|
29 |
/* ========================================================================== */
|
|
|
30 |
/*
|
|
|
31 |
Current SLEPc version number and release date
|
|
|
32 |
*/
|
|
|
33 |
#include "slepcversion.h"
|
|
|
34 |
|
|
|
35 |
/* ========================================================================== */
|
|
|
36 |
/*
|
|
|
37 |
The PETSc include files.
|
|
|
38 |
*/
|
|
|
39 |
#include "petsc.h"
|
|
|
40 |
#include "petscvec.h"
|
|
|
41 |
#include "petscmat.h"
|
|
|
42 |
|
| 476 |
dsic.upv.es!antodo |
43 |
PETSC_EXTERN_CXX_BEGIN
|
| 6 |
dsic.upv.es!jroman |
44 |
/*
|
|
|
45 |
Initialization of SLEPc and other system routines
|
|
|
46 |
*/
|
| 476 |
dsic.upv.es!antodo |
47 |
EXTERN PetscErrorCode SlepcInitialize(int*,char***,char[],const char[]);
|
|
|
48 |
EXTERN PetscErrorCode SlepcFinalize(void);
|
|
|
49 |
EXTERN PetscErrorCode SlepcInitializeFortran(void);
|
| 6 |
dsic.upv.es!jroman |
50 |
|
| 1956 |
jroman |
51 |
EXTERN PetscErrorCode SlepcVecSetRandom(Vec,PetscRandom);
|
| 476 |
dsic.upv.es!antodo |
52 |
EXTERN PetscErrorCode SlepcIsHermitian(Mat,PetscTruth*);
|
| 502 |
dsic.upv.es!antodo |
53 |
#if !defined(PETSC_USE_COMPLEX)
|
|
|
54 |
EXTERN PetscReal SlepcAbsEigenvalue(PetscScalar,PetscScalar);
|
|
|
55 |
#else
|
|
|
56 |
#define SlepcAbsEigenvalue(x,y) PetscAbsScalar(x)
|
|
|
57 |
#endif
|
| 675 |
dsic.upv.es!antodo |
58 |
EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
|
| 904 |
dsic.upv.es!antodo |
59 |
EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec *,PetscInt,Mat,PetscScalar*);
|
| 1601 |
slepc |
60 |
EXTERN PetscErrorCode SlepcUpdateVectors(PetscInt,Vec*,PetscInt,PetscInt,const PetscScalar*,PetscInt,PetscTruth);
|
| 1988 |
eromero |
61 |
EXTERN PetscErrorCode SlepcUpdateStrideVectors(PetscInt n_,Vec *V,PetscInt s,PetscInt d,PetscInt e,const PetscScalar *Q,PetscInt ldq_,PetscTruth qtrans);
|
| 1755 |
antodo |
62 |
EXTERN PetscErrorCode SlepcVecMAXPBY(Vec,PetscScalar,PetscScalar,PetscInt,PetscScalar*,Vec*);
|
| 877 |
dsic.upv.es!jroman |
63 |
|
| 1409 |
slepc |
64 |
extern PetscTruth SlepcInitializeCalled;
|
|
|
65 |
|
| 476 |
dsic.upv.es!antodo |
66 |
PETSC_EXTERN_CXX_END
|
| 6 |
dsic.upv.es!jroman |
67 |
#endif
|
|
|
68 |
|