Actual source code: slepceps.h

slepc-3.22.2 2024-12-02
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, extends(tPetscObject) :: tEPS
 15:       end type tEPS

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

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

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

 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_KRYLOVSCHUR_BSE_SHAO         =  0
 76:       PetscEnum, parameter :: EPS_KRYLOVSCHUR_BSE_GRUNING      =  1
 77:       PetscEnum, parameter :: EPS_KRYLOVSCHUR_BSE_PROJECTEDBSE =  2

 79:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_LOCAL     =  0
 80:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_FULL      =  1
 81:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_SELECTIVE =  2
 82:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_PERIODIC  =  3
 83:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_PARTIAL   =  4
 84:       PetscEnum, parameter :: EPS_LANCZOS_REORTHOG_DELAYED   =  5

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

102:       PetscEnum, parameter :: EPS_CISS_QUADRULE_TRAPEZOIDAL  =  1
103:       PetscEnum, parameter :: EPS_CISS_QUADRULE_CHEBYSHEV    =  2

105:       PetscEnum, parameter :: EPS_CISS_EXTRACTION_RITZ       =  0
106:       PetscEnum, parameter :: EPS_CISS_EXTRACTION_HANKEL     =  1

108:       PetscEnum, parameter :: EPS_EVSL_DOS_KPM               =  0
109:       PetscEnum, parameter :: EPS_EVSL_DOS_LANCZOS           =  1

111:       PetscEnum, parameter :: EPS_EVSL_DAMPING_NONE          =  0
112:       PetscEnum, parameter :: EPS_EVSL_DAMPING_JACKSON       =  1
113:       PetscEnum, parameter :: EPS_EVSL_DAMPING_SIGMA         =  2

115: !
116: !   Possible arguments to EPSMonitorSet()
117: !
118:       external EPSMONITORFIRST
119:       external EPSMONITORALL
120:       external EPSMONITORCONVERGED

122:       external EPSMonitorConvergedDestroy

124: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
125: !DEC$ ATTRIBUTES DLLEXPORT::SLEPC_NULL_EPS
126: #endif