Actual source code: slepcsys.h

slepc-3.5.2 2014-10-10
Report Typos and Errors
  1: !
  2: !  Basic include file for Fortran use of the SLEPc package
  3: !
  4: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  5: !  SLEPc - Scalable Library for Eigenvalue Problem Computations
  6: !  Copyright (c) 2002-2014, Universitat Politecnica de Valencia, Spain
  7: !
  8: !  This file is part of SLEPc.
  9: !
 10: !  SLEPc is free software: you can redistribute it and/or modify it under  the
 11: !  terms of version 3 of the GNU Lesser General Public License as published by
 12: !  the Free Software Foundation.
 13: !
 14: !  SLEPc  is  distributed in the hope that it will be useful, but WITHOUT  ANY
 15: !  WARRANTY;  without even the implied warranty of MERCHANTABILITY or  FITNESS
 16: !  FOR  A  PARTICULAR PURPOSE. See the GNU Lesser General Public  License  for
 17: !  more details.
 18: !
 19: !  You  should have received a copy of the GNU Lesser General  Public  License
 20: !  along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
 21: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 22: !

 24: #include "petscconf.h"
 25: #include "finclude/petscdef.h"
 26:  #include slepcversion.h
 27:  #include finclude/slepcsysdef.h

 29: ! Default tolerance for the different solvers, depending on the precision

 31:       PetscReal SLEPC_DEFAULT_TOL
 32: #if defined(PETSC_USE_REAL_SINGLE)
 33:       parameter(SLEPC_DEFAULT_TOL     =  1e-6)
 34: #elif defined(PETSC_USE_REAL_DOUBLE)
 35:       parameter(SLEPC_DEFAULT_TOL     =  1e-8)
 36: #elif defined(PETSC_USE_REAL___FLOAT128)
 37:       parameter(SLEPC_DEFAULT_TOL     = 1e-16)
 38: #else
 39:       parameter(SLEPC_DEFAULT_TOL     =  1e-7)
 40: #endif

 42: !  SlepcFunction - Used to specify a mathematical function

 44:       PetscEnum SLEPC_FUNCTION_NONE
 45:       PetscEnum SLEPC_FUNCTION_EXP
 46:       PetscEnum SLEPC_FUNCTION_LAST

 48:       parameter (SLEPC_FUNCTION_NONE  = 0)
 49:       parameter (SLEPC_FUNCTION_EXP   = 1)
 50:       parameter (SLEPC_FUNCTION_LAST  = 2)