Subversion Repositories slepc-dev

Rev

Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7
      SLEPc - Scalable Library for Eigenvalue Problem Computations
8
      Copyright (c) 2002-2007, Universidad Politecnica de Valencia, Spain
9
 
10
      This file is part of SLEPc. See the README file for conditions of use
11
      and additional information.
12
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6 dsic.upv.es!jroman 13
*/
1376 slepc 14
 
6 dsic.upv.es!jroman 15
#if !defined(__SLEPC_H)
16
#define __SLEPC_H
17
 
18
/* ========================================================================== */
19
/*
20
   Current SLEPc version number and release date
21
*/
22
#include "slepcversion.h"
23
 
24
/* ========================================================================== */
25
/*
26
   The PETSc include files.
27
*/
28
#include "petsc.h"
29
#include "petscvec.h"
30
#include "petscmat.h"
31
 
476 dsic.upv.es!antodo 32
PETSC_EXTERN_CXX_BEGIN
6 dsic.upv.es!jroman 33
/*
34
    Initialization of SLEPc and other system routines
35
*/
476 dsic.upv.es!antodo 36
EXTERN PetscErrorCode SlepcInitialize(int*,char***,char[],const char[]);
37
EXTERN PetscErrorCode SlepcFinalize(void);
38
EXTERN PetscErrorCode SlepcInitializeFortran(void);
6 dsic.upv.es!jroman 39
 
476 dsic.upv.es!antodo 40
EXTERN PetscErrorCode SlepcVecSetRandom(Vec);
41
EXTERN PetscErrorCode SlepcIsHermitian(Mat,PetscTruth*);
502 dsic.upv.es!antodo 42
#if !defined(PETSC_USE_COMPLEX)
43
EXTERN PetscReal SlepcAbsEigenvalue(PetscScalar,PetscScalar);
44
#else
45
#define SlepcAbsEigenvalue(x,y) PetscAbsScalar(x)
46
#endif
675 dsic.upv.es!antodo 47
EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
904 dsic.upv.es!antodo 48
EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec *,PetscInt,Mat,PetscScalar*);
877 dsic.upv.es!jroman 49
 
476 dsic.upv.es!antodo 50
PETSC_EXTERN_CXX_END
6 dsic.upv.es!jroman 51
#endif
52