/*
|
/*
|
This is the main SLEPc include file (for C and C++). It is included
|
This is the main SLEPc include file (for C and C++). It is included
|
by all other SLEPc include files, so it almost never has to be
|
by all other SLEPc include files, so it almost never has to be
|
specifically included.
|
specifically included.
|
|
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
SLEPc - Scalable Library for Eigenvalue Problem Computations
|
|
Copyright (c) 2002-2007, Universidad Politecnica de Valencia, Spain
|
|
|
|
This file is part of SLEPc. See the README file for conditions of use
|
|
and additional information.
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
*/
|
*/
|
|
|
#if !defined(__SLEPC_H)
|
#if !defined(__SLEPC_H)
|
#define __SLEPC_H
|
#define __SLEPC_H
|
|
|
/* ========================================================================== */
|
/* ========================================================================== */
|
/*
|
/*
|
Current SLEPc version number and release date
|
Current SLEPc version number and release date
|
*/
|
*/
|
#include "slepcversion.h"
|
#include "slepcversion.h"
|
|
|
/* ========================================================================== */
|
/* ========================================================================== */
|
/*
|
/*
|
The PETSc include files.
|
The PETSc include files.
|
*/
|
*/
|
#include "petsc.h"
|
#include "petsc.h"
|
#include "petscvec.h"
|
#include "petscvec.h"
|
#include "petscmat.h"
|
#include "petscmat.h"
|
|
|
PETSC_EXTERN_CXX_BEGIN
|
PETSC_EXTERN_CXX_BEGIN
|
/*
|
/*
|
Initialization of SLEPc and other system routines
|
Initialization of SLEPc and other system routines
|
*/
|
*/
|
EXTERN PetscErrorCode SlepcInitialize(int*,char***,char[],const char[]);
|
EXTERN PetscErrorCode SlepcInitialize(int*,char***,char[],const char[]);
|
EXTERN PetscErrorCode SlepcFinalize(void);
|
EXTERN PetscErrorCode SlepcFinalize(void);
|
EXTERN PetscErrorCode SlepcInitializeFortran(void);
|
EXTERN PetscErrorCode SlepcInitializeFortran(void);
|
|
|
EXTERN PetscErrorCode SlepcVecSetRandom(Vec);
|
EXTERN PetscErrorCode SlepcVecSetRandom(Vec);
|
EXTERN PetscErrorCode SlepcIsHermitian(Mat,PetscTruth*);
|
EXTERN PetscErrorCode SlepcIsHermitian(Mat,PetscTruth*);
|
#if !defined(PETSC_USE_COMPLEX)
|
#if !defined(PETSC_USE_COMPLEX)
|
EXTERN PetscReal SlepcAbsEigenvalue(PetscScalar,PetscScalar);
|
EXTERN PetscReal SlepcAbsEigenvalue(PetscScalar,PetscScalar);
|
#else
|
#else
|
#define SlepcAbsEigenvalue(x,y) PetscAbsScalar(x)
|
#define SlepcAbsEigenvalue(x,y) PetscAbsScalar(x)
|
#endif
|
#endif
|
EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
|
EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
|
EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec *,PetscInt,Mat,PetscScalar*);
|
EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec *,PetscInt,Mat,PetscScalar*);
|
|
|
PETSC_EXTERN_CXX_END
|
PETSC_EXTERN_CXX_END
|
#endif
|
#endif
|
|
|
|
|
|
|