Actual source code: slepc.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-2007, Universidad Politecnica de Valencia, Spain

 10:       This file is part of SLEPc. See the README file for conditions of use
 11:       and additional information.
 12:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 13: */


 18: /* ========================================================================== */
 19: /* 
 20:    Current SLEPc version number and release date
 21: */
 22:  #include slepcversion.h

 24: /* ========================================================================== */
 25: /* 
 26:    The PETSc include files. 
 27: */
 28: #include "petsc.h"
 29: #include "petscvec.h"
 30: #include "petscmat.h"

 33: /*
 34:     Initialization of SLEPc and other system routines
 35: */
 36: EXTERN PetscErrorCode SlepcInitialize(int*,char***,char[],const char[]);
 37: EXTERN PetscErrorCode SlepcFinalize(void);
 38: EXTERN PetscErrorCode SlepcInitializeFortran(void);

 40: EXTERN PetscErrorCode SlepcVecSetRandom(Vec);
 41: EXTERN PetscErrorCode SlepcIsHermitian(Mat,PetscTruth*);
 42: #if !defined(PETSC_USE_COMPLEX)
 43: EXTERN PetscReal SlepcAbsEigenvalue(PetscScalar,PetscScalar);
 44: #else
 45: #define SlepcAbsEigenvalue(x,y) PetscAbsScalar(x)
 46: #endif
 47: EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
 48: EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec *,PetscInt,Mat,PetscScalar*);
 49: 
 51: #endif