Date: 2013-09-02T10:10:29+00:00

Actual source code: slepceps.h

      1: !
      2: !  Include file for Fortran use of the EPS object in SLEPc
      3: !
      4: !
      5: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      6: !  SLEPc - Scalable Library for Eigenvalue Problem Computations
      7: !  Copyright (c) 2002-2013, Universitat Politecnica de Valencia, Spain
      8: !
      9: !  This file is part of SLEPc.
     10: !
     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.
     14: !
     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.
     19: !
     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: !
     24:  #include finclude/slepcepsdef.h

     26: !  Convergence flags.
     27: !  They sould match the flags in $SLEPC_DIR/include/slepceps.h

     29:       PetscEnum EPS_CONVERGED_TOL
     30:       PetscEnum EPS_DIVERGED_ITS
     31:       PetscEnum EPS_DIVERGED_BREAKDOWN
     32:       PetscEnum EPS_CONVERGED_ITERATING

     34:       parameter (EPS_CONVERGED_TOL          =  2)
     35:       parameter (EPS_DIVERGED_ITS           = -3)
     36:       parameter (EPS_DIVERGED_BREAKDOWN     = -4)
     37:       parameter (EPS_CONVERGED_ITERATING    =  0)

     39:       PetscEnum EPS_HEP
     40:       PetscEnum EPS_GHEP
     41:       PetscEnum EPS_NHEP
     42:       PetscEnum EPS_GNHEP
     43:       PetscEnum EPS_PGNHEP
     44:       PetscEnum EPS_GHIEP

     46:       parameter (EPS_HEP                    =  1)
     47:       parameter (EPS_GHEP                   =  2)
     48:       parameter (EPS_NHEP                   =  3)
     49:       parameter (EPS_GNHEP                  =  4)
     50:       parameter (EPS_PGNHEP                 =  5)
     51:       parameter (EPS_GHIEP                  =  6)

     53:       PetscEnum EPS_LARGEST_MAGNITUDE
     54:       PetscEnum EPS_SMALLEST_MAGNITUDE
     55:       PetscEnum EPS_LARGEST_REAL
     56:       PetscEnum EPS_SMALLEST_REAL
     57:       PetscEnum EPS_LARGEST_IMAGINARY
     58:       PetscEnum EPS_SMALLEST_IMAGINARY
     59:       PetscEnum EPS_TARGET_MAGNITUDE
     60:       PetscEnum EPS_TARGET_REAL
     61:       PetscEnum EPS_TARGET_IMAGINARY
     62:       PetscEnum EPS_ALL
     63:       PetscEnum EPS_WHICH_USER

     65:       parameter (EPS_LARGEST_MAGNITUDE      =  1)
     66:       parameter (EPS_SMALLEST_MAGNITUDE     =  2)
     67:       parameter (EPS_LARGEST_REAL           =  3)
     68:       parameter (EPS_SMALLEST_REAL          =  4)
     69:       parameter (EPS_LARGEST_IMAGINARY      =  5)
     70:       parameter (EPS_SMALLEST_IMAGINARY     =  6)
     71:       parameter (EPS_TARGET_MAGNITUDE       =  7)
     72:       parameter (EPS_TARGET_REAL            =  8)
     73:       parameter (EPS_TARGET_IMAGINARY       =  9)
     74:       parameter (EPS_ALL                    = 10)
     75:       parameter (EPS_WHICH_USER             = 11)

     77:       PetscEnum EPS_BALANCE_NONE
     78:       PetscEnum EPS_BALANCE_ONESIDE
     79:       PetscEnum EPS_BALANCE_TWOSIDE
     80:       PetscEnum EPS_BALANCE_USER

     82:       parameter (EPS_BALANCE_NONE           =  1)
     83:       parameter (EPS_BALANCE_ONESIDE        =  2)
     84:       parameter (EPS_BALANCE_TWOSIDE        =  3)
     85:       parameter (EPS_BALANCE_USER           =  4)

     87:       PetscEnum EPS_POWER_SHIFT_CONSTANT
     88:       PetscEnum EPS_POWER_SHIFT_RAYLEIGH
     89:       PetscEnum EPS_POWER_SHIFT_WILKINSON

     91:       parameter (EPS_POWER_SHIFT_CONSTANT   =  0)
     92:       parameter (EPS_POWER_SHIFT_RAYLEIGH   =  1)
     93:       parameter (EPS_POWER_SHIFT_WILKINSON  =  2)

     95:       PetscEnum EPS_RITZ
     96:       PetscEnum EPS_HARMONIC
     97:       PetscEnum EPS_HARMONIC_RELATIVE
     98:       PetscEnum EPS_HARMONIC_RIGHT
     99:       PetscEnum EPS_HARMONIC_LARGEST
    100:       PetscEnum EPS_REFINED
    101:       PetscEnum EPS_REFINED_HARMONIC

    103:       parameter (EPS_RITZ                   =  1)
    104:       parameter (EPS_HARMONIC               =  2)
    105:       parameter (EPS_HARMONIC_RELATIVE      =  3)
    106:       parameter (EPS_HARMONIC_RIGHT         =  4)
    107:       parameter (EPS_HARMONIC_LARGEST       =  5)
    108:       parameter (EPS_REFINED                =  6)
    109:       parameter (EPS_REFINED_HARMONIC       =  7)

    111:       PetscEnum EPS_CONV_ABS
    112:       PetscEnum EPS_CONV_EIG
    113:       PetscEnum EPS_CONV_NORM
    114:       PetscEnum EPS_CONV_USER

    116:       parameter (EPS_CONV_ABS               =  1)
    117:       parameter (EPS_CONV_EIG               =  2)
    118:       parameter (EPS_CONV_NORM              =  3)
    119:       parameter (EPS_CONV_USER              =  4)

    121:       PetscEnum EPS_LANCZOS_REORTHOG_LOCAL
    122:       PetscEnum EPS_LANCZOS_REORTHOG_FULL
    123:       PetscEnum EPS_LANCZOS_REORTHOG_SELECTIVE
    124:       PetscEnum EPS_LANCZOS_REORTHOG_PERIODIC
    125:       PetscEnum EPS_LANCZOS_REORTHOG_PARTIAL
    126:       PetscEnum EPS_LANCZOS_REORTHOG_DELAYED

    128:       parameter (EPS_LANCZOS_REORTHOG_LOCAL     =  0)
    129:       parameter (EPS_LANCZOS_REORTHOG_FULL      =  1)
    130:       parameter (EPS_LANCZOS_REORTHOG_SELECTIVE =  2)
    131:       parameter (EPS_LANCZOS_REORTHOG_PERIODIC  =  3)
    132:       parameter (EPS_LANCZOS_REORTHOG_PARTIAL   =  4)
    133:       parameter (EPS_LANCZOS_REORTHOG_DELAYED   =  5)

    135:       PetscEnum EPS_PRIMME_DYNAMIC
    136:       PetscEnum EPS_PRIMME_DEFAULT_MIN_TIME
    137:       PetscEnum EPS_PRIMME_DEFAULT_MIN_MATVECS
    138:       PetscEnum EPS_PRIMME_ARNOLDI
    139:       PetscEnum EPS_PRIMME_GD
    140:       PetscEnum EPS_PRIMME_GD_PLUSK
    141:       PetscEnum EPS_PRIMME_GD_OLSEN_PLUSK
    142:       PetscEnum EPS_PRIMME_JD_OLSEN_PLUSK
    143:       PetscEnum EPS_PRIMME_RQI
    144:       PetscEnum EPS_PRIMME_JDQR
    145:       PetscEnum EPS_PRIMME_JDQMR
    146:       PetscEnum EPS_PRIMME_JDQMR_ETOL
    147:       PetscEnum EPS_PRIMME_SUBSPACE_ITERATION
    148:       PetscEnum EPS_PRIMME_LOBPCG_ORTHOBASIS
    149:       PetscEnum EPS_PRIMME_LOBPCG_ORTHOBASISW

    151:       parameter (EPS_PRIMME_DYNAMIC             =  0)
    152:       parameter (EPS_PRIMME_DEFAULT_MIN_TIME    =  1)
    153:       parameter (EPS_PRIMME_DEFAULT_MIN_MATVECS =  2)
    154:       parameter (EPS_PRIMME_ARNOLDI             =  3)
    155:       parameter (EPS_PRIMME_GD                  =  4)
    156:       parameter (EPS_PRIMME_GD_PLUSK            =  5)
    157:       parameter (EPS_PRIMME_GD_OLSEN_PLUSK      =  7)
    158:       parameter (EPS_PRIMME_JD_OLSEN_PLUSK      =  8)
    159:       parameter (EPS_PRIMME_RQI                 =  9)
    160:       parameter (EPS_PRIMME_JDQR                = 10)
    161:       parameter (EPS_PRIMME_JDQMR               = 11)
    162:       parameter (EPS_PRIMME_JDQMR_ETOL          = 12)
    163:       parameter (EPS_PRIMME_SUBSPACE_ITERATION  = 13)
    164:       parameter (EPS_PRIMME_LOBPCG_ORTHOBASIS   = 14)
    165:       parameter (EPS_PRIMME_LOBPCG_ORTHOBASISW  = 15)

    167:       PetscEnum EPS_ORTH_I
    168:       PetscEnum EPS_ORTH_B
    169:       PetscEnum EPS_ORTH_BOPT

    171:       parameter (EPS_ORTH_I                 =  1)
    172:       parameter (EPS_ORTH_B                 =  2)
    173:       parameter (EPS_ORTH_BOPT              =  3)

    175: !
    176: !   Possible arguments to EPSMonitorSet()
    177: !
    178:       external EPSMONITORALL
    179:       external EPSMONITORLG
    180:       external EPSMONITORLGALL
    181:       external EPSMONITORCONVERGED
    182:       external EPSMONITORFIRST

    184: !
    185: !  End of Fortran include file for the EPS package in SLEPc
    186: !