Actual source code: slepceps.h
slepc-3.21.1 2024-04-26
Report Typos and Errors

      1: !
      2: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3: !  SLEPc - Scalable Library for Eigenvalue Problem Computations
      4: !  Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain
      5: !
      6: !  This file is part of SLEPc.
      7: !  SLEPc is distributed under a 2-clause BSD license (see LICENSE).
      8: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      9: !
     10: !  Used by slepcepsmod.F90 to create Fortran module file
     11: !
     12: #include "slepc/finclude/slepceps.h"

     14:       type tEPS
     15:         PetscFortranAddr:: v PETSC_FORTRAN_TYPE_INITIALIZE
     16:       end type tEPS

     18:       EPS, parameter :: SLEPC_NULL_EPS = tEPS(0)

     20:       PetscEnum, parameter :: EPS_CONVERGED_TOL          =  1
     21:       PetscEnum, parameter :: EPS_CONVERGED_USER         =  2
     22:       PetscEnum, parameter :: EPS_DIVERGED_ITS           = -1
     23:       PetscEnum, parameter :: EPS_DIVERGED_BREAKDOWN     = -2
     24:       PetscEnum, parameter :: EPS_DIVERGED_SYMMETRY_LOST = -3
     25:       PetscEnum, parameter :: EPS_CONVERGED_ITERATING    =  0

     27:       PetscEnum, parameter :: EPS_HEP                    =  1
     28:       PetscEnum, parameter :: EPS_GHEP                   =  2
     29:       PetscEnum, parameter :: EPS_NHEP                   =  3
     30:       PetscEnum, parameter :: EPS_GNHEP                  =  4
     31:       PetscEnum, parameter :: EPS_PGNHEP                 =  5
     32:       PetscEnum, parameter :: EPS_GHIEP                  =  6

     34:       PetscEnum, parameter :: EPS_LARGEST_MAGNITUDE      =  1
     35:       PetscEnum, parameter :: EPS_SMALLEST_MAGNITUDE     =  2
     36:       PetscEnum, parameter :: EPS_LARGEST_REAL           =  3
     37:       PetscEnum, parameter :: EPS_SMALLEST_REAL          =  4
     38:       PetscEnum, parameter :: EPS_LARGEST_IMAGINARY      =  5
     39:       PetscEnum, parameter :: EPS_SMALLEST_IMAGINARY     =  6
     40:       PetscEnum, parameter :: EPS_TARGET_MAGNITUDE       =  7
     41:       PetscEnum, parameter :: EPS_TARGET_REAL            =  8
     42:       PetscEnum, parameter :: EPS_TARGET_IMAGINARY       =  9
     43:       PetscEnum, parameter :: EPS_ALL                    = 10
     44:       PetscEnum, parameter :: EPS_WHICH_USER             = 11

     46:       PetscEnum, parameter :: EPS_BALANCE_NONE           =  0
     47:       PetscEnum, parameter :: EPS_BALANCE_ONESIDE        =  1
     48:       PetscEnum, parameter :: EPS_BALANCE_TWOSIDE        =  2
     49:       PetscEnum, parameter :: EPS_BALANCE_USER           =  3

     51:       PetscEnum, parameter :: EPS_RITZ                   =  0
     52:       PetscEnum, parameter :: EPS_HARMONIC               =  1
     53:       PetscEnum, parameter :: EPS_HARMONIC_RELATIVE      =  2
     54:       PetscEnum, parameter :: EPS_HARMONIC_RIGHT         =  3
     55:       PetscEnum, parameter :: EPS_HARMONIC_LARGEST       =  4
     56:       PetscEnum, parameter :: EPS_REFINED                =  5
     57:       PetscEnum, parameter :: EPS_REFINED_HARMONIC       =  6

     59:       PetscEnum, parameter :: EPS_ERROR_ABSOLUTE         =  0
     60:       PetscEnum, parameter :: EPS_ERROR_RELATIVE         =  1
     61:       PetscEnum, parameter :: EPS_ERROR_BACKWARD         =  2

     63:       PetscEnum, parameter :: EPS_CONV_ABS               =  0
     64:       PetscEnum, parameter :: EPS_CONV_REL               =  1
     65:       PetscEnum, parameter :: EPS_CONV_NORM              =  2
     66:       PetscEnum, parameter :: EPS_CONV_USER              =  3

     68:       PetscEnum, parameter :: EPS_STOP_BASIC             =  0
     69:       PetscEnum, parameter :: EPS_STOP_USER              =  1

     71:       PetscEnum, parameter :: EPS_POWER_SHIFT_CONSTANT   =  0
     72:       PetscEnum, parameter :: EPS_POWER_SHIFT_RAYLEIGH   =  1
     73:       PetscEnum, parameter :: EPS_POWER_SHIFT_WILKINSON  =  2

     75:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_LOCAL     =  0
     76:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_FULL      =  1
     77:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_SELECTIVE =  2
     78:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_PERIODIC  =  3
     79:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_PARTIAL   =  4
     80:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_DELAYED   =  5

     82:       PetscEnum, parameter :: EPS_PRIMME_DYNAMIC             =  1
     83:       PetscEnum, parameter :: EPS_PRIMME_DEFAULT_MIN_TIME    =  2
     84:       PetscEnum, parameter :: EPS_PRIMME_DEFAULT_MIN_MATVECS =  3
     85:       PetscEnum, parameter :: EPS_PRIMME_ARNOLDI             =  4
     86:       PetscEnum, parameter :: EPS_PRIMME_GD                  =  5
     87:       PetscEnum, parameter :: EPS_PRIMME_GD_PLUSK            =  6
     88:       PetscEnum, parameter :: EPS_PRIMME_GD_OLSEN_PLUSK      =  7
     89:       PetscEnum, parameter :: EPS_PRIMME_JD_OLSEN_PLUSK      =  8
     90:       PetscEnum, parameter :: EPS_PRIMME_RQI                 =  9
     91:       PetscEnum, parameter :: EPS_PRIMME_JDQR                = 10
     92:       PetscEnum, parameter :: EPS_PRIMME_JDQMR               = 11
     93:       PetscEnum, parameter :: EPS_PRIMME_JDQMR_ETOL          = 12
     94:       PetscEnum, parameter :: EPS_PRIMME_SUBSPACE_ITERATION  = 13
     95:       PetscEnum, parameter :: EPS_PRIMME_LOBPCG_ORTHOBASIS   = 14
     96:       PetscEnum, parameter :: EPS_PRIMME_LOBPCG_ORTHOBASISW  = 15

     98:       PetscEnum, parameter :: EPS_CISS_QUADRULE_TRAPEZOIDAL  =  1
     99:       PetscEnum, parameter :: EPS_CISS_QUADRULE_CHEBYSHEV    =  2

    101:       PetscEnum, parameter :: EPS_CISS_EXTRACTION_RITZ       =  0
    102:       PetscEnum, parameter :: EPS_CISS_EXTRACTION_HANKEL     =  1

    104:       PetscEnum, parameter :: EPS_EVSL_DOS_KPM               =  0
    105:       PetscEnum, parameter :: EPS_EVSL_DOS_LANCZOS           =  1

    107:       PetscEnum, parameter :: EPS_EVSL_DAMPING_NONE          =  0
    108:       PetscEnum, parameter :: EPS_EVSL_DAMPING_JACKSON       =  1
    109:       PetscEnum, parameter :: EPS_EVSL_DAMPING_SIGMA         =  2

    111: !
    112: !   Possible arguments to EPSMonitorSet()
    113: !
    114:       external EPSMONITORFIRST
    115:       external EPSMONITORALL
    116:       external EPSMONITORCONVERGED

    118:       external EPSMonitorConvergedDestroy

    120: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
    121: !DEC$ ATTRIBUTES DLLEXPORT::SLEPC_NULL_EPS
    122: #endif