Date: 2016-03-29T14:59:32+00:00

Actual source code: slepcsys.h
slepc-3.6.3 2016-03-29
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-2015, 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:     Initialization of SLEPc and other system routines
     56: */
     57: PETSC_EXTERN PetscErrorCode SlepcInitialize(int*,char***,const char[],const char[]);
     58: PETSC_EXTERN PetscErrorCode SlepcInitializeNoPointers(int,char**,const char[],const char[]);
     59: PETSC_EXTERN PetscErrorCode SlepcInitializeNoArguments(void);
     60: PETSC_EXTERN PetscErrorCode SlepcFinalize(void);
     61: PETSC_EXTERN PetscErrorCode SlepcInitializeFortran(void);
     62: PETSC_EXTERN PetscErrorCode SlepcInitialized(PetscBool*);
     63: PETSC_EXTERN PetscErrorCode SlepcGetVersion(char[],size_t);

     65: PETSC_EXTERN PetscErrorCode SlepcMatConvertSeqDense(Mat,Mat*);
     66: PETSC_EXTERN PetscErrorCode SlepcMatTile(PetscScalar,Mat,PetscScalar,Mat,PetscScalar,Mat,PetscScalar,Mat,Mat*);
     67: PETSC_EXTERN PetscErrorCode SlepcCheckOrthogonality(Vec*,PetscInt,Vec*,PetscInt,Mat,PetscViewer,PetscReal*);
     68: PETSC_EXTERN PetscErrorCode SlepcSNPrintfScalar(char*,size_t,PetscScalar,PetscBool);
     69: PETSC_EXTERN PetscErrorCode SlepcVecNormalize(Vec,Vec,PetscBool,PetscReal*);

     71: PETSC_EXTERN PetscBool SlepcInitializeCalled;

     73: #endif