Actual source code: slepcsys.h

slepc-3.7.1 2016-05-27
Report Typos and Errors
  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-2016, 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@upv.es\n http://slepc.upv.es\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>
 49: /*
 50:     slepcsc.h contains definition of sorting criterion
 51: */
 52: #include <slepcsc.h>

 54: /*
 55:     Creation and destruction of context for monitors of type XXXMonitorConverged
 56: */
 57: typedef struct _n_SlepcConvMonitor* SlepcConvMonitor;
 58: PETSC_EXTERN PetscErrorCode SlepcConvMonitorCreate(PetscViewer,PetscViewerFormat,SlepcConvMonitor*);
 59: PETSC_EXTERN PetscErrorCode SlepcConvMonitorDestroy(SlepcConvMonitor*);

 61: /*
 62:     Initialization of SLEPc and other system routines
 63: */
 64: PETSC_EXTERN PetscErrorCode SlepcInitialize(int*,char***,const char[],const char[]);
 65: PETSC_EXTERN PetscErrorCode SlepcInitializeNoPointers(int,char**,const char[],const char[]);
 66: PETSC_EXTERN PetscErrorCode SlepcInitializeNoArguments(void);
 67: PETSC_EXTERN PetscErrorCode SlepcFinalize(void);
 68: PETSC_EXTERN PetscErrorCode SlepcInitializeFortran(void);
 69: PETSC_EXTERN PetscErrorCode SlepcInitialized(PetscBool*);
 70: PETSC_EXTERN PetscErrorCode SlepcGetVersion(char[],size_t);

 72: PETSC_EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
 73: PETSC_EXTERN PetscErrorCode SlepcMatTile(PetscScalar,Mat,PetscScalar,Mat,PetscScalar,Mat,PetscScalar,Mat,Mat*);
 74: PETSC_EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec*,PetscInt,Mat,PetscViewer,PetscReal*);
 75: PETSC_EXTERN PetscErrorCode SlepcSNPrintfScalar(char*,size_t,PetscScalar,PetscBool);
 76: PETSC_EXTERN PetscErrorCode SlepcVecNormalize(Vec,Vec,PetscBool,PetscReal*);

 78: PETSC_EXTERN PetscBool SlepcInitializeCalled;

 80: #endif