Actual source code: slepcsvddef.h

  1: !
  2: !  Include file for Fortran use of the SVD object in SLEPc
  3: !
  4: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  5: !  SLEPc - Scalable Library for Eigenvalue Problem Computations
  6: !  Copyright (c) 2002-2013, 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: !

 26:  #include finclude/slepcipdef.h
 27:  #include finclude/slepcdsdef.h
 28:  #include finclude/slepcepsdef.h

 30: #if !defined(PETSC_USE_FORTRAN_DATATYPES)
 31: #define SVD                PetscFortranAddr
 32: #endif

 34: #define SVDType            character*(80)
 35: #define SVDTransposeMode   PetscEnum
 36: #define SVDWhich           PetscEnum
 37: #define SVDConvergedReason PetscEnum

 39: #define SVDCROSS     'cross'
 40: #define SVDCYCLIC    'cyclic'
 41: #define SVDLAPACK    'lapack'
 42: #define SVDLANCZOS   'lanczos'
 43: #define SVDTRLANCZOS 'trlanczos'

 45: #endif