Actual source code: slepcsys.h
1: /*
2: This include file contains definitions of system functions. It is included
3: by all other SLEPc include files.
5: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6: SLEPc - Scalable Library for Eigenvalue Problem Computations
7: Copyright (c) 2002-2013, Universitat Politecnica de Valencia, Spain
9: This file is part of SLEPc.
11: SLEPc is free software: you can redistribute it and/or modify it under the
12: terms of version 3 of the GNU Lesser General Public License as published by
13: the Free Software Foundation.
15: SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
16: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17: FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
18: more details.
20: You should have received a copy of the GNU Lesser General Public License
21: along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
22: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
23: */
28: /* ========================================================================== */
29: /*
30: slepcconf.h is created by the configure script and placed in ${PETSC_ARCH}/include.
31: It contains macro definitions set at configure time.
32: */
33: #include <slepcconf.h>
34: /*
35: slepcversion.h contains version info
36: */
37: #include <slepcversion.h>
38: #define SLEPC_AUTHOR_INFO " The SLEPc Team\n slepc-maint@grycap.upv.es\n http://www.grycap.upv.es/slepc\n"
40: /* ========================================================================== */
41: /*
42: The PETSc include files.
43: */
44: #include <petscmat.h>
45: /*
46: slepcmath.h contains definition of basic math functions
47: */
48: #include <slepcmath.h>
50: /*
51: Initialization of SLEPc and other system routines
52: */
53: PETSC_EXTERN PetscErrorCode SlepcInitialize(int*,char***,const char[],const char[]);
54: PETSC_EXTERN PetscErrorCode SlepcInitializeNoPointers(int,char**,const char[],const char[]);
55: PETSC_EXTERN PetscErrorCode SlepcInitializeNoArguments(void);
56: PETSC_EXTERN PetscErrorCode SlepcFinalize(void);
57: PETSC_EXTERN PetscErrorCode SlepcInitializeFortran(void);
58: PETSC_EXTERN PetscErrorCode SlepcInitialized(PetscBool*);
59: PETSC_EXTERN PetscErrorCode SlepcGetVersion(char[],size_t);
61: PETSC_EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
62: PETSC_EXTERN PetscErrorCode SlepcMatTile(PetscScalar,Mat,PetscScalar,Mat,PetscScalar,Mat,PetscScalar,Mat,Mat*);
63: PETSC_EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec*,PetscInt,Mat,PetscViewer,PetscReal*);
64: PETSC_EXTERN PetscErrorCode SlepcSNPrintfScalar(char*,size_t,PetscScalar,PetscBool);
66: PETSC_EXTERN PetscBool SlepcInitializeCalled;
68: #endif