Date: 2015-09-03T15:06:10+00:00

Actual source code: slepceps.h
slepc-3.6.1 2015-09-03
Report Typos and Errors

      1: /*
      2:    User interface for the SLEPC eigenproblem solvers.

      4:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      5:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      6:    Copyright (c) 2002-2015, Universitat Politecnica de Valencia, Spain

      8:    This file is part of SLEPc.

     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.

     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.

     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 <slepcst.h>
     27: #include <slepcbv.h>
     28: #include <slepcds.h>
     29: #include <slepcrg.h>

     31: PETSC_EXTERN PetscErrorCode EPSInitializePackage(void);

     33: /*S
     34:     EPS - Abstract SLEPc object that manages all the eigenvalue
     35:     problem solvers.

     37:     Level: beginner

     39: .seealso:  EPSCreate(), ST
     40: S*/
     41: typedef struct _p_EPS* EPS;

     43: /*J
     44:     EPSType - String with the name of a SLEPc eigensolver

     46:     Level: beginner

     48: .seealso: EPSSetType(), EPS
     49: J*/
     50: typedef const char* EPSType;
     51: #define EPSPOWER       "power"
     52: #define EPSSUBSPACE    "subspace"
     53: #define EPSARNOLDI     "arnoldi"
     54: #define EPSLANCZOS     "lanczos"
     55: #define EPSKRYLOVSCHUR "krylovschur"
     56: #define EPSGD          "gd"
     57: #define EPSJD          "jd"
     58: #define EPSRQCG        "rqcg"
     59: #define EPSLOBPCG      "lobpcg"
     60: #define EPSCISS        "ciss"
     61: #define EPSLAPACK      "lapack"
     62: #define EPSARPACK      "arpack"
     63: #define EPSBLZPACK     "blzpack"
     64: #define EPSTRLAN       "trlan"
     65: #define EPSBLOPEX      "blopex"
     66: #define EPSPRIMME      "primme"
     67: #define EPSFEAST       "feast"

     69: /* Logging support */
     70: PETSC_EXTERN PetscClassId EPS_CLASSID;

     72: /*E
     73:     EPSProblemType - Determines the type of eigenvalue problem

     75:     Level: beginner

     77: .seealso: EPSSetProblemType(), EPSGetProblemType()
     78: E*/
     79: typedef enum { EPS_HEP=1,
     80:                EPS_GHEP,
     81:                EPS_NHEP,
     82:                EPS_GNHEP,
     83:                EPS_PGNHEP,
     84:                EPS_GHIEP } EPSProblemType;

     86: /*E
     87:     EPSExtraction - Determines the type of extraction technique employed
     88:     by the eigensolver

     90:     Level: advanced

     92: .seealso: EPSSetExtraction(), EPSGetExtraction()
     93: E*/
     94: typedef enum { EPS_RITZ,
     95:                EPS_HARMONIC,
     96:                EPS_HARMONIC_RELATIVE,
     97:                EPS_HARMONIC_RIGHT,
     98:                EPS_HARMONIC_LARGEST,
     99:                EPS_REFINED,
    100:                EPS_REFINED_HARMONIC } EPSExtraction;

    102: /*E
    103:     EPSWhich - Determines which part of the spectrum is requested

    105:     Level: intermediate

    107: .seealso: EPSSetWhichEigenpairs(), EPSGetWhichEigenpairs()
    108: E*/
    109: typedef enum { EPS_LARGEST_MAGNITUDE=1,
    110:                EPS_SMALLEST_MAGNITUDE,
    111:                EPS_LARGEST_REAL,
    112:                EPS_SMALLEST_REAL,
    113:                EPS_LARGEST_IMAGINARY,
    114:                EPS_SMALLEST_IMAGINARY,
    115:                EPS_TARGET_MAGNITUDE,
    116:                EPS_TARGET_REAL,
    117:                EPS_TARGET_IMAGINARY,
    118:                EPS_ALL,
    119:                EPS_WHICH_USER } EPSWhich;

    121: /*E
    122:     EPSBalance - The type of balancing used for non-Hermitian problems

    124:     Level: intermediate

    126: .seealso: EPSSetBalance()
    127: E*/
    128: typedef enum { EPS_BALANCE_NONE,
    129:                EPS_BALANCE_ONESIDE,
    130:                EPS_BALANCE_TWOSIDE,
    131:                EPS_BALANCE_USER } EPSBalance;
    132: PETSC_EXTERN const char *EPSBalanceTypes[];

    134: /*E
    135:     EPSErrorType - The error type used to assess accuracy of computed solutions

    137:     Level: intermediate

    139: .seealso: EPSComputeError()
    140: E*/
    141: typedef enum { EPS_ERROR_ABSOLUTE,
    142:                EPS_ERROR_RELATIVE,
    143:                EPS_ERROR_BACKWARD } EPSErrorType;
    144: PETSC_EXTERN const char *EPSErrorTypes[];

    146: /*E
    147:     EPSConv - Determines the convergence test

    149:     Level: intermediate

    151: .seealso: EPSSetConvergenceTest(), EPSSetConvergenceTestFunction()
    152: E*/
    153: typedef enum { EPS_CONV_ABS,
    154:                EPS_CONV_EIG,
    155:                EPS_CONV_NORM,
    156:                EPS_CONV_USER } EPSConv;

    158: PETSC_EXTERN PetscErrorCode EPSCreate(MPI_Comm,EPS*);
    159: PETSC_EXTERN PetscErrorCode EPSDestroy(EPS*);
    160: PETSC_EXTERN PetscErrorCode EPSReset(EPS);
    161: PETSC_EXTERN PetscErrorCode EPSSetType(EPS,EPSType);
    162: PETSC_EXTERN PetscErrorCode EPSGetType(EPS,EPSType*);
    163: PETSC_EXTERN PetscErrorCode EPSSetProblemType(EPS,EPSProblemType);
    164: PETSC_EXTERN PetscErrorCode EPSGetProblemType(EPS,EPSProblemType*);
    165: PETSC_EXTERN PetscErrorCode EPSSetExtraction(EPS,EPSExtraction);
    166: PETSC_EXTERN PetscErrorCode EPSGetExtraction(EPS,EPSExtraction*);
    167: PETSC_EXTERN PetscErrorCode EPSSetBalance(EPS,EPSBalance,PetscInt,PetscReal);
    168: PETSC_EXTERN PetscErrorCode EPSGetBalance(EPS,EPSBalance*,PetscInt*,PetscReal*);
    169: PETSC_EXTERN PetscErrorCode EPSSetOperators(EPS,Mat,Mat);
    170: PETSC_EXTERN PetscErrorCode EPSGetOperators(EPS,Mat*,Mat*);
    171: PETSC_EXTERN PetscErrorCode EPSSetFromOptions(EPS);
    172: PETSC_EXTERN PetscErrorCode EPSSetUp(EPS);
    173: PETSC_EXTERN PetscErrorCode EPSSolve(EPS);
    174: PETSC_EXTERN PetscErrorCode EPSView(EPS,PetscViewer);
    175: PETSC_STATIC_INLINE PetscErrorCode EPSViewFromOptions(EPS eps,PetscObject obj,const char name[]) {return PetscObjectViewFromOptions((PetscObject)eps,obj,name);}
    176: PETSC_EXTERN PetscErrorCode EPSErrorView(EPS,EPSErrorType,PetscViewer);
    177: PETSC_DEPRECATED("Use EPSErrorView()") PETSC_STATIC_INLINE PetscErrorCode EPSPrintSolution(EPS eps,PetscViewer v) {return EPSErrorView(eps,EPS_ERROR_RELATIVE,v);}
    178: PETSC_EXTERN PetscErrorCode EPSErrorViewFromOptions(EPS);
    179: PETSC_EXTERN PetscErrorCode EPSReasonView(EPS,PetscViewer);
    180: PETSC_EXTERN PetscErrorCode EPSReasonViewFromOptions(EPS);
    181: PETSC_EXTERN PetscErrorCode EPSValuesView(EPS,PetscViewer);
    182: PETSC_EXTERN PetscErrorCode EPSValuesViewFromOptions(EPS);
    183: PETSC_EXTERN PetscErrorCode EPSVectorsView(EPS,PetscViewer);
    184: PETSC_EXTERN PetscErrorCode EPSVectorsViewFromOptions(EPS);

    186: PETSC_EXTERN PetscErrorCode EPSSetTarget(EPS,PetscScalar);
    187: PETSC_EXTERN PetscErrorCode EPSGetTarget(EPS,PetscScalar*);
    188: PETSC_EXTERN PetscErrorCode EPSSetInterval(EPS,PetscReal,PetscReal);
    189: PETSC_EXTERN PetscErrorCode EPSGetInterval(EPS,PetscReal*,PetscReal*);
    190: PETSC_EXTERN PetscErrorCode EPSSetST(EPS,ST);
    191: PETSC_EXTERN PetscErrorCode EPSGetST(EPS,ST*);
    192: PETSC_EXTERN PetscErrorCode EPSSetBV(EPS,BV);
    193: PETSC_EXTERN PetscErrorCode EPSGetBV(EPS,BV*);
    194: PETSC_EXTERN PetscErrorCode EPSSetRG(EPS,RG);
    195: PETSC_EXTERN PetscErrorCode EPSGetRG(EPS,RG*);
    196: PETSC_EXTERN PetscErrorCode EPSSetDS(EPS,DS);
    197: PETSC_EXTERN PetscErrorCode EPSGetDS(EPS,DS*);
    198: PETSC_EXTERN PetscErrorCode EPSSetTolerances(EPS,PetscReal,PetscInt);
    199: PETSC_EXTERN PetscErrorCode EPSGetTolerances(EPS,PetscReal*,PetscInt*);
    200: PETSC_EXTERN PetscErrorCode EPSSetConvergenceTestFunction(EPS,PetscErrorCode (*)(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*),void*,PetscErrorCode (*)(void*));
    201: PETSC_EXTERN PetscErrorCode EPSSetConvergenceTest(EPS,EPSConv);
    202: PETSC_EXTERN PetscErrorCode EPSGetConvergenceTest(EPS,EPSConv*);
    203: PETSC_EXTERN PetscErrorCode EPSConvergedEigRelative(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
    204: PETSC_EXTERN PetscErrorCode EPSConvergedAbsolute(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
    205: PETSC_EXTERN PetscErrorCode EPSConvergedNormRelative(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
    206: PETSC_EXTERN PetscErrorCode EPSSetDimensions(EPS,PetscInt,PetscInt,PetscInt);
    207: PETSC_EXTERN PetscErrorCode EPSGetDimensions(EPS,PetscInt*,PetscInt*,PetscInt*);

    209: PETSC_EXTERN PetscErrorCode EPSGetConverged(EPS,PetscInt*);
    210: PETSC_EXTERN PetscErrorCode EPSGetEigenpair(EPS,PetscInt,PetscScalar*,PetscScalar*,Vec,Vec);
    211: PETSC_EXTERN PetscErrorCode EPSGetEigenvalue(EPS,PetscInt,PetscScalar*,PetscScalar*);
    212: PETSC_EXTERN PetscErrorCode EPSGetEigenvector(EPS,PetscInt,Vec,Vec);

    214: PETSC_EXTERN PetscErrorCode EPSComputeError(EPS,PetscInt,EPSErrorType,PetscReal*);
    215: PETSC_DEPRECATED("Use EPSComputeError()") PETSC_STATIC_INLINE PetscErrorCode EPSComputeRelativeError(EPS eps,PetscInt i,PetscReal *r) {return EPSComputeError(eps,i,EPS_ERROR_RELATIVE,r);}
    216: PETSC_DEPRECATED("Use EPSComputeError() with EPS_ERROR_ABSOLUTE") PETSC_STATIC_INLINE PetscErrorCode EPSComputeResidualNorm(EPS eps,PetscInt i,PetscReal *r) {return EPSComputeError(eps,i,EPS_ERROR_ABSOLUTE,r);}
    217: PETSC_EXTERN PetscErrorCode EPSGetInvariantSubspace(EPS,Vec*);
    218: PETSC_EXTERN PetscErrorCode EPSGetErrorEstimate(EPS,PetscInt,PetscReal*);

    220: PETSC_EXTERN PetscErrorCode EPSMonitor(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt);
    221: PETSC_EXTERN PetscErrorCode EPSMonitorSet(EPS,PetscErrorCode (*)(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*),void*,PetscErrorCode (*)(void**));
    222: PETSC_EXTERN PetscErrorCode EPSMonitorCancel(EPS);
    223: PETSC_EXTERN PetscErrorCode EPSGetMonitorContext(EPS,void**);
    224: PETSC_EXTERN PetscErrorCode EPSGetIterationNumber(EPS,PetscInt*);

    226: PETSC_EXTERN PetscErrorCode EPSSetWhichEigenpairs(EPS,EPSWhich);
    227: PETSC_EXTERN PetscErrorCode EPSGetWhichEigenpairs(EPS,EPSWhich*);
    228: PETSC_EXTERN PetscErrorCode EPSSetTrueResidual(EPS,PetscBool);
    229: PETSC_EXTERN PetscErrorCode EPSGetTrueResidual(EPS,PetscBool*);
    230: PETSC_EXTERN PetscErrorCode EPSSetPurify(EPS,PetscBool);
    231: PETSC_EXTERN PetscErrorCode EPSGetPurify(EPS,PetscBool*);
    232: PETSC_EXTERN PetscErrorCode EPSSetEigenvalueComparison(EPS,PetscErrorCode (*func)(PetscScalar,PetscScalar,PetscScalar,PetscScalar,PetscInt*,void*),void*);
    233: PETSC_EXTERN PetscErrorCode EPSSetArbitrarySelection(EPS,PetscErrorCode (*func)(PetscScalar,PetscScalar,Vec,Vec,PetscScalar*,PetscScalar*,void*),void*);
    234: PETSC_EXTERN PetscErrorCode EPSIsGeneralized(EPS,PetscBool*);
    235: PETSC_EXTERN PetscErrorCode EPSIsHermitian(EPS,PetscBool*);
    236: PETSC_EXTERN PetscErrorCode EPSIsPositive(EPS,PetscBool*);

    238: PETSC_EXTERN PetscErrorCode EPSMonitorFirst(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
    239: PETSC_EXTERN PetscErrorCode EPSMonitorAll(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
    240: PETSC_EXTERN PetscErrorCode EPSMonitorConverged(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
    241: PETSC_EXTERN PetscErrorCode EPSMonitorLG(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
    242: PETSC_EXTERN PetscErrorCode EPSMonitorLGAll(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);

    244: PETSC_EXTERN PetscErrorCode EPSSetTrackAll(EPS,PetscBool);
    245: PETSC_EXTERN PetscErrorCode EPSGetTrackAll(EPS,PetscBool*);

    247: PETSC_EXTERN PetscErrorCode EPSSetDeflationSpace(EPS,PetscInt,Vec*);
    248: PETSC_EXTERN PetscErrorCode EPSSetInitialSpace(EPS,PetscInt,Vec*);

    250: PETSC_EXTERN PetscErrorCode EPSSetOptionsPrefix(EPS,const char*);
    251: PETSC_EXTERN PetscErrorCode EPSAppendOptionsPrefix(EPS,const char*);
    252: PETSC_EXTERN PetscErrorCode EPSGetOptionsPrefix(EPS,const char*[]);

    254: /*E
    255:     EPSConvergedReason - Reason an eigensolver was said to
    256:          have converged or diverged

    258:     Level: intermediate

    260: .seealso: EPSSolve(), EPSGetConvergedReason(), EPSSetTolerances()
    261: E*/
    262: typedef enum {/* converged */
    263:               EPS_CONVERGED_TOL                =  2,
    264:               /* diverged */
    265:               EPS_DIVERGED_ITS                 = -3,
    266:               EPS_DIVERGED_BREAKDOWN           = -4,
    267:               EPS_DIVERGED_SYMMETRY_LOST       = -5,
    268:               EPS_CONVERGED_ITERATING          =  0} EPSConvergedReason;
    269: PETSC_EXTERN const char *const*EPSConvergedReasons;

    271: PETSC_EXTERN PetscErrorCode EPSGetConvergedReason(EPS,EPSConvergedReason*);

    273: PETSC_EXTERN PetscFunctionList EPSList;
    274: PETSC_EXTERN PetscErrorCode EPSRegister(const char[],PetscErrorCode(*)(EPS));

    276: PETSC_EXTERN PetscErrorCode EPSSetWorkVecs(EPS,PetscInt);
    277: PETSC_EXTERN PetscErrorCode EPSAllocateSolution(EPS,PetscInt);

    279: /* --------- options specific to particular eigensolvers -------- */

    281: /*E
    282:     EPSPowerShiftType - determines the type of shift used in the Power iteration

    284:     Level: advanced

    286: .seealso: EPSPowerSetShiftType(), EPSPowerGetShiftType()
    287: E*/
    288: typedef enum { EPS_POWER_SHIFT_CONSTANT,
    289:                EPS_POWER_SHIFT_RAYLEIGH,
    290:                EPS_POWER_SHIFT_WILKINSON } EPSPowerShiftType;
    291: PETSC_EXTERN const char *EPSPowerShiftTypes[];

    293: PETSC_EXTERN PetscErrorCode EPSPowerSetShiftType(EPS,EPSPowerShiftType);
    294: PETSC_EXTERN PetscErrorCode EPSPowerGetShiftType(EPS,EPSPowerShiftType*);

    296: PETSC_EXTERN PetscErrorCode EPSArnoldiSetDelayed(EPS,PetscBool);
    297: PETSC_EXTERN PetscErrorCode EPSArnoldiGetDelayed(EPS,PetscBool*);

    299: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetRestart(EPS,PetscReal);
    300: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetRestart(EPS,PetscReal*);
    301: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetLocking(EPS,PetscBool);
    302: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetLocking(EPS,PetscBool*);
    303: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetPartitions(EPS,PetscInt);
    304: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetPartitions(EPS,PetscInt*);
    305: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetDetectZeros(EPS,PetscBool);
    306: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetDetectZeros(EPS,PetscBool*);
    307: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetDimensions(EPS,PetscInt,PetscInt,PetscInt);
    308: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetDimensions(EPS,PetscInt*,PetscInt*,PetscInt*);
    309: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetSubintervals(EPS,PetscReal*);
    310: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetSubintervals(EPS,PetscReal**);
    311: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetInertias(EPS,PetscInt*,PetscReal**,PetscInt**);
    312: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetSubcommInfo(EPS,PetscInt*,PetscInt*,Vec*);
    313: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetSubcommPairs(EPS,PetscInt,PetscScalar*,Vec);

    315: /*E
    316:     EPSLanczosReorthogType - determines the type of reorthogonalization
    317:     used in the Lanczos method

    319:     Level: advanced

    321: .seealso: EPSLanczosSetReorthog(), EPSLanczosGetReorthog()
    322: E*/
    323: typedef enum { EPS_LANCZOS_REORTHOG_LOCAL,
    324:                EPS_LANCZOS_REORTHOG_FULL,
    325:                EPS_LANCZOS_REORTHOG_SELECTIVE,
    326:                EPS_LANCZOS_REORTHOG_PERIODIC,
    327:                EPS_LANCZOS_REORTHOG_PARTIAL,
    328:                EPS_LANCZOS_REORTHOG_DELAYED } EPSLanczosReorthogType;
    329: PETSC_EXTERN const char *EPSLanczosReorthogTypes[];

    331: PETSC_EXTERN PetscErrorCode EPSLanczosSetReorthog(EPS,EPSLanczosReorthogType);
    332: PETSC_EXTERN PetscErrorCode EPSLanczosGetReorthog(EPS,EPSLanczosReorthogType*);

    334: PETSC_EXTERN PetscErrorCode EPSBlzpackSetBlockSize(EPS,PetscInt);
    335: PETSC_EXTERN PetscErrorCode EPSBlzpackSetNSteps(EPS,PetscInt);

    337: /*E
    338:     EPSPRIMMEMethod - determines the method selected in the PRIMME library

    340:     Level: advanced

    342: .seealso: EPSPRIMMESetMethod(), EPSPRIMMEGetMethod()
    343: E*/
    344: typedef enum { EPS_PRIMME_DYNAMIC,
    345:                EPS_PRIMME_DEFAULT_MIN_TIME,
    346:                EPS_PRIMME_DEFAULT_MIN_MATVECS,
    347:                EPS_PRIMME_ARNOLDI,
    348:                EPS_PRIMME_GD,
    349:                EPS_PRIMME_GD_PLUSK,
    350:                EPS_PRIMME_GD_OLSEN_PLUSK,
    351:                EPS_PRIMME_JD_OLSEN_PLUSK,
    352:                EPS_PRIMME_RQI,
    353:                EPS_PRIMME_JDQR,
    354:                EPS_PRIMME_JDQMR,
    355:                EPS_PRIMME_JDQMR_ETOL,
    356:                EPS_PRIMME_SUBSPACE_ITERATION,
    357:                EPS_PRIMME_LOBPCG_ORTHOBASIS,
    358:                EPS_PRIMME_LOBPCG_ORTHOBASISW } EPSPRIMMEMethod;
    359: PETSC_EXTERN const char *EPSPRIMMEMethods[];

    361: PETSC_EXTERN PetscErrorCode EPSPRIMMESetBlockSize(EPS,PetscInt);
    362: PETSC_EXTERN PetscErrorCode EPSPRIMMESetMethod(EPS,EPSPRIMMEMethod);
    363: PETSC_EXTERN PetscErrorCode EPSPRIMMEGetBlockSize(EPS,PetscInt*);
    364: PETSC_EXTERN PetscErrorCode EPSPRIMMEGetMethod(EPS,EPSPRIMMEMethod*);

    366: PETSC_EXTERN PetscErrorCode EPSGDSetKrylovStart(EPS,PetscBool);
    367: PETSC_EXTERN PetscErrorCode EPSGDGetKrylovStart(EPS,PetscBool*);
    368: PETSC_EXTERN PetscErrorCode EPSGDSetBlockSize(EPS,PetscInt);
    369: PETSC_EXTERN PetscErrorCode EPSGDGetBlockSize(EPS,PetscInt*);
    370: PETSC_EXTERN PetscErrorCode EPSGDSetRestart(EPS,PetscInt,PetscInt);
    371: PETSC_EXTERN PetscErrorCode EPSGDGetRestart(EPS,PetscInt*,PetscInt*);
    372: PETSC_EXTERN PetscErrorCode EPSGDSetInitialSize(EPS,PetscInt);
    373: PETSC_EXTERN PetscErrorCode EPSGDGetInitialSize(EPS,PetscInt*);
    374: PETSC_EXTERN PetscErrorCode EPSGDSetBOrth(EPS,PetscBool);
    375: PETSC_EXTERN PetscErrorCode EPSGDGetBOrth(EPS,PetscBool*);
    376: PETSC_EXTERN PetscErrorCode EPSGDGetWindowSizes(EPS,PetscInt*,PetscInt*);
    377: PETSC_EXTERN PetscErrorCode EPSGDSetWindowSizes(EPS,PetscInt,PetscInt);
    378: PETSC_EXTERN PetscErrorCode EPSGDSetDoubleExpansion(EPS,PetscBool);
    379: PETSC_EXTERN PetscErrorCode EPSGDGetDoubleExpansion(EPS,PetscBool*);

    381: PETSC_EXTERN PetscErrorCode EPSJDSetKrylovStart(EPS,PetscBool);
    382: PETSC_EXTERN PetscErrorCode EPSJDGetKrylovStart(EPS,PetscBool*);
    383: PETSC_EXTERN PetscErrorCode EPSJDSetBlockSize(EPS,PetscInt);
    384: PETSC_EXTERN PetscErrorCode EPSJDGetBlockSize(EPS,PetscInt*);
    385: PETSC_EXTERN PetscErrorCode EPSJDSetRestart(EPS,PetscInt,PetscInt);
    386: PETSC_EXTERN PetscErrorCode EPSJDGetRestart(EPS,PetscInt*,PetscInt*);
    387: PETSC_EXTERN PetscErrorCode EPSJDSetInitialSize(EPS,PetscInt);
    388: PETSC_EXTERN PetscErrorCode EPSJDGetInitialSize(EPS,PetscInt*);
    389: PETSC_EXTERN PetscErrorCode EPSJDSetFix(EPS,PetscReal);
    390: PETSC_EXTERN PetscErrorCode EPSJDGetFix(EPS,PetscReal*);
    391: PETSC_EXTERN PetscErrorCode EPSJDSetConstCorrectionTol(EPS,PetscBool);
    392: PETSC_EXTERN PetscErrorCode EPSJDGetConstCorrectionTol(EPS,PetscBool*);
    393: PETSC_EXTERN PetscErrorCode EPSJDSetBOrth(EPS,PetscBool);
    394: PETSC_EXTERN PetscErrorCode EPSJDGetBOrth(EPS,PetscBool*);
    395: PETSC_EXTERN PetscErrorCode EPSJDGetWindowSizes(EPS,PetscInt*,PetscInt*);
    396: PETSC_EXTERN PetscErrorCode EPSJDSetWindowSizes(EPS,PetscInt,PetscInt);

    398: PETSC_EXTERN PetscErrorCode EPSRQCGSetReset(EPS,PetscInt);
    399: PETSC_EXTERN PetscErrorCode EPSRQCGGetReset(EPS,PetscInt*);

    401: PETSC_EXTERN PetscErrorCode EPSLOBPCGSetBlockSize(EPS,PetscInt);
    402: PETSC_EXTERN PetscErrorCode EPSLOBPCGGetBlockSize(EPS,PetscInt*);
    403: PETSC_EXTERN PetscErrorCode EPSLOBPCGSetLocking(EPS,PetscBool);
    404: PETSC_EXTERN PetscErrorCode EPSLOBPCGGetLocking(EPS,PetscBool*);

    406: PETSC_EXTERN PetscErrorCode EPSCISSSetRegion(EPS,PetscScalar,PetscReal,PetscReal);
    407: PETSC_EXTERN PetscErrorCode EPSCISSGetRegion(EPS,PetscScalar*,PetscReal*,PetscReal*);
    408: PETSC_EXTERN PetscErrorCode EPSCISSSetSizes(EPS,PetscInt,PetscInt,PetscInt,PetscInt,PetscInt,PetscBool);
    409: PETSC_EXTERN PetscErrorCode EPSCISSGetSizes(EPS,PetscInt*,PetscInt*,PetscInt*,PetscInt*,PetscInt*,PetscBool*);
    410: PETSC_EXTERN PetscErrorCode EPSCISSSetThreshold(EPS,PetscReal,PetscReal);
    411: PETSC_EXTERN PetscErrorCode EPSCISSGetThreshold(EPS,PetscReal*,PetscReal*);
    412: PETSC_EXTERN PetscErrorCode EPSCISSSetRefinement(EPS,PetscInt,PetscInt,PetscInt);
    413: PETSC_EXTERN PetscErrorCode EPSCISSGetRefinement(EPS,PetscInt*,PetscInt*,PetscInt*);
    414: PETSC_EXTERN PetscErrorCode EPSCISSSetUseST(EPS,PetscBool);
    415: PETSC_EXTERN PetscErrorCode EPSCISSGetUseST(EPS,PetscBool*);

    417: PETSC_EXTERN PetscErrorCode EPSBLOPEXSetBlockSize(EPS,PetscInt);
    418: PETSC_EXTERN PetscErrorCode EPSBLOPEXGetBlockSize(EPS,PetscInt*);

    420: PETSC_EXTERN PetscErrorCode EPSFEASTSetNumPoints(EPS,PetscInt);
    421: PETSC_EXTERN PetscErrorCode EPSFEASTGetNumPoints(EPS,PetscInt*);

    423: #endif