Actual source code: slepceps.h

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

  4:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  5:    SLEPc - Scalable Library for Eigenvalue Problem Computations
  6:    Copyright (c) 2002-2013, 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 <slepcip.h>
 28: #include <slepcds.h>

 30: PETSC_EXTERN PetscErrorCode EPSInitializePackage(void);

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

 36:     Level: beginner

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

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

 45:     Level: beginner

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

 67: /* Logging support */
 68: PETSC_EXTERN PetscClassId EPS_CLASSID;

 70: /*E
 71:     EPSProblemType - Determines the type of eigenvalue problem

 73:     Level: beginner

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

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

 88:     Level: beginner

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

100: /*E
101:     EPSWhich - Determines which part of the spectrum is requested

103:     Level: intermediate

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

119: /*E
120:     EPSBalance - The type of balancing used for non-Hermitian problems

122:     Level: intermediate

124: .seealso: EPSSetBalance()
125: E*/
126: typedef enum { EPS_BALANCE_NONE=1,
127:                EPS_BALANCE_ONESIDE,
128:                EPS_BALANCE_TWOSIDE,
129:                EPS_BALANCE_USER } EPSBalance;

131: /*E
132:     EPSConv - Determines the convergence test

134:     Level: intermediate

136: .seealso: EPSSetConvergenceTest(), EPSSetConvergenceTestFunction()
137: E*/
138: typedef enum { EPS_CONV_ABS=1,
139:                EPS_CONV_EIG,
140:                EPS_CONV_NORM,
141:                EPS_CONV_USER } EPSConv;

143: PETSC_EXTERN PetscErrorCode EPSCreate(MPI_Comm,EPS *);
144: PETSC_EXTERN PetscErrorCode EPSDestroy(EPS*);
145: PETSC_EXTERN PetscErrorCode EPSReset(EPS);
146: PETSC_EXTERN PetscErrorCode EPSSetType(EPS,EPSType);
147: PETSC_EXTERN PetscErrorCode EPSGetType(EPS,EPSType*);
148: PETSC_EXTERN PetscErrorCode EPSSetProblemType(EPS,EPSProblemType);
149: PETSC_EXTERN PetscErrorCode EPSGetProblemType(EPS,EPSProblemType*);
150: PETSC_EXTERN PetscErrorCode EPSSetExtraction(EPS,EPSExtraction);
151: PETSC_EXTERN PetscErrorCode EPSGetExtraction(EPS,EPSExtraction*);
152: PETSC_EXTERN PetscErrorCode EPSSetBalance(EPS,EPSBalance,PetscInt,PetscReal);
153: PETSC_EXTERN PetscErrorCode EPSGetBalance(EPS,EPSBalance*,PetscInt*,PetscReal*);
154: PETSC_EXTERN PetscErrorCode EPSSetOperators(EPS,Mat,Mat);
155: PETSC_EXTERN PetscErrorCode EPSGetOperators(EPS,Mat*,Mat*);
156: PETSC_EXTERN PetscErrorCode EPSSetFromOptions(EPS);
157: PETSC_EXTERN PetscErrorCode EPSSetUp(EPS);
158: PETSC_EXTERN PetscErrorCode EPSSolve(EPS);
159: PETSC_EXTERN PetscErrorCode EPSView(EPS,PetscViewer);
160: PETSC_EXTERN PetscErrorCode EPSPrintSolution(EPS,PetscViewer);

162: PETSC_EXTERN PetscErrorCode EPSSetTarget(EPS,PetscScalar);
163: PETSC_EXTERN PetscErrorCode EPSGetTarget(EPS,PetscScalar*);
164: PETSC_EXTERN PetscErrorCode EPSSetInterval(EPS,PetscReal,PetscReal);
165: PETSC_EXTERN PetscErrorCode EPSGetInterval(EPS,PetscReal*,PetscReal*);
166: PETSC_EXTERN PetscErrorCode EPSSetST(EPS,ST);
167: PETSC_EXTERN PetscErrorCode EPSGetST(EPS,ST*);
168: PETSC_EXTERN PetscErrorCode EPSSetIP(EPS,IP);
169: PETSC_EXTERN PetscErrorCode EPSGetIP(EPS,IP*);
170: PETSC_EXTERN PetscErrorCode EPSSetDS(EPS,DS);
171: PETSC_EXTERN PetscErrorCode EPSGetDS(EPS,DS*);
172: PETSC_EXTERN PetscErrorCode EPSSetTolerances(EPS,PetscReal,PetscInt);
173: PETSC_EXTERN PetscErrorCode EPSGetTolerances(EPS,PetscReal*,PetscInt*);
174: PETSC_EXTERN PetscErrorCode EPSSetConvergenceTestFunction(EPS,PetscErrorCode (*)(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*),void*);
175: PETSC_EXTERN PetscErrorCode EPSSetConvergenceTest(EPS eps,EPSConv conv);
176: PETSC_EXTERN PetscErrorCode EPSGetConvergenceTest(EPS eps,EPSConv *conv);
177: PETSC_EXTERN PetscErrorCode EPSConvergedEigRelative(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
178: PETSC_EXTERN PetscErrorCode EPSConvergedAbsolute(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
179: PETSC_EXTERN PetscErrorCode EPSConvergedNormRelative(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
180: PETSC_EXTERN PetscErrorCode EPSSetDimensions(EPS,PetscInt,PetscInt,PetscInt);
181: PETSC_EXTERN PetscErrorCode EPSGetDimensions(EPS,PetscInt*,PetscInt*,PetscInt*);

183: PETSC_EXTERN PetscErrorCode EPSGetConverged(EPS,PetscInt*);
184: PETSC_EXTERN PetscErrorCode EPSGetEigenpair(EPS,PetscInt,PetscScalar*,PetscScalar*,Vec,Vec);
185: PETSC_EXTERN PetscErrorCode EPSGetEigenvalue(EPS,PetscInt,PetscScalar*,PetscScalar*);
186: PETSC_EXTERN PetscErrorCode EPSGetEigenvector(EPS,PetscInt,Vec,Vec);
187: PETSC_EXTERN PetscErrorCode EPSGetEigenvectorLeft(EPS,PetscInt,Vec,Vec);
188: PETSC_EXTERN PetscErrorCode EPSComputeRelativeError(EPS,PetscInt,PetscReal*);
189: PETSC_EXTERN PetscErrorCode EPSComputeRelativeErrorLeft(EPS,PetscInt,PetscReal*);
190: PETSC_EXTERN PetscErrorCode EPSComputeResidualNorm(EPS,PetscInt,PetscReal*);
191: PETSC_EXTERN PetscErrorCode EPSComputeResidualNormLeft(EPS,PetscInt,PetscReal*);
192: PETSC_EXTERN PetscErrorCode EPSGetInvariantSubspace(EPS,Vec*);
193: PETSC_EXTERN PetscErrorCode EPSGetInvariantSubspaceLeft(EPS,Vec*);
194: PETSC_EXTERN PetscErrorCode EPSGetErrorEstimate(EPS,PetscInt,PetscReal*);
195: PETSC_EXTERN PetscErrorCode EPSGetErrorEstimateLeft(EPS,PetscInt,PetscReal*);

197: PETSC_EXTERN PetscErrorCode EPSMonitor(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt);
198: PETSC_EXTERN PetscErrorCode EPSMonitorSet(EPS,PetscErrorCode (*)(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*),void*,PetscErrorCode (*)(void**));
199: PETSC_EXTERN PetscErrorCode EPSMonitorCancel(EPS);
200: PETSC_EXTERN PetscErrorCode EPSGetMonitorContext(EPS,void **);
201: PETSC_EXTERN PetscErrorCode EPSGetIterationNumber(EPS,PetscInt*);
202: PETSC_EXTERN PetscErrorCode EPSGetOperationCounters(EPS,PetscInt*,PetscInt*,PetscInt*);

204: PETSC_EXTERN PetscErrorCode EPSSetWhichEigenpairs(EPS,EPSWhich);
205: PETSC_EXTERN PetscErrorCode EPSGetWhichEigenpairs(EPS,EPSWhich*);
206: PETSC_EXTERN PetscErrorCode EPSSetLeftVectorsWanted(EPS,PetscBool);
207: PETSC_EXTERN PetscErrorCode EPSGetLeftVectorsWanted(EPS,PetscBool*);
208: PETSC_EXTERN PetscErrorCode EPSSetMatrixNorms(EPS,PetscReal,PetscReal,PetscBool);
209: PETSC_EXTERN PetscErrorCode EPSGetMatrixNorms(EPS,PetscReal*,PetscReal*,PetscBool*);
210: PETSC_EXTERN PetscErrorCode EPSSetTrueResidual(EPS,PetscBool);
211: PETSC_EXTERN PetscErrorCode EPSGetTrueResidual(EPS,PetscBool*);
212: PETSC_EXTERN PetscErrorCode EPSSetEigenvalueComparison(EPS,PetscErrorCode (*func)(PetscScalar,PetscScalar,PetscScalar,PetscScalar,PetscInt*,void*),void*);
213: PETSC_EXTERN PetscErrorCode EPSSetArbitrarySelection(EPS,PetscErrorCode (*func)(PetscScalar,PetscScalar,Vec,Vec,PetscScalar*,PetscScalar*,void*),void*);
214: PETSC_EXTERN PetscErrorCode EPSIsGeneralized(EPS,PetscBool*);
215: PETSC_EXTERN PetscErrorCode EPSIsHermitian(EPS,PetscBool*);
216: PETSC_EXTERN PetscErrorCode EPSIsPositive(EPS,PetscBool*);

218: PETSC_EXTERN PetscErrorCode EPSMonitorFirst(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
219: PETSC_EXTERN PetscErrorCode EPSMonitorAll(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
220: PETSC_EXTERN PetscErrorCode EPSMonitorConverged(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
221: PETSC_EXTERN PetscErrorCode EPSMonitorLG(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
222: PETSC_EXTERN PetscErrorCode EPSMonitorLGAll(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);

224: PETSC_EXTERN PetscErrorCode EPSSetTrackAll(EPS,PetscBool);
225: PETSC_EXTERN PetscErrorCode EPSGetTrackAll(EPS,PetscBool*);

227: PETSC_EXTERN PetscErrorCode EPSSetDeflationSpace(EPS,PetscInt,Vec*);
228: PETSC_EXTERN PetscErrorCode EPSRemoveDeflationSpace(EPS);
229: PETSC_EXTERN PetscErrorCode EPSSetInitialSpace(EPS,PetscInt,Vec*);
230: PETSC_EXTERN PetscErrorCode EPSSetInitialSpaceLeft(EPS,PetscInt,Vec*);

232: PETSC_EXTERN PetscErrorCode EPSSetOptionsPrefix(EPS,const char*);
233: PETSC_EXTERN PetscErrorCode EPSAppendOptionsPrefix(EPS,const char*);
234: PETSC_EXTERN PetscErrorCode EPSGetOptionsPrefix(EPS,const char*[]);

236: /*E
237:     EPSConvergedReason - Reason an eigensolver was said to
238:          have converged or diverged

240:     Level: beginner

242: .seealso: EPSSolve(), EPSGetConvergedReason(), EPSSetTolerances()
243: E*/
244: typedef enum {/* converged */
245:               EPS_CONVERGED_TOL                =  2,
246:               /* diverged */
247:               EPS_DIVERGED_ITS                 = -3,
248:               EPS_DIVERGED_BREAKDOWN           = -4,
249:               EPS_CONVERGED_ITERATING          =  0} EPSConvergedReason;

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

253: PETSC_EXTERN PetscErrorCode EPSSortEigenvalues(EPS,PetscInt,PetscScalar*,PetscScalar*,PetscInt*);
254: PETSC_EXTERN PetscErrorCode EPSCompareEigenvalues(EPS,PetscScalar,PetscScalar,PetscScalar,PetscScalar,PetscInt*);

256: PETSC_EXTERN PetscErrorCode EPSGetStartVector(EPS,PetscInt,Vec,PetscBool*);
257: PETSC_EXTERN PetscErrorCode EPSGetStartVectorLeft(EPS,PetscInt,Vec,PetscBool*);

259: PETSC_EXTERN PetscFunctionList EPSList;
260: PETSC_EXTERN PetscBool         EPSRegisterAllCalled;
261: PETSC_EXTERN PetscErrorCode EPSRegisterAll(void);
262: PETSC_EXTERN PetscErrorCode EPSRegister(const char[],PetscErrorCode(*)(EPS));

264: PETSC_EXTERN PetscErrorCode EPSSetWorkVecs(EPS,PetscInt);

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

268: /*E
269:     EPSPowerShiftType - determines the type of shift used in the Power iteration

271:     Level: advanced

273: .seealso: EPSPowerSetShiftType(), EPSPowerGetShiftType()
274: E*/
275: typedef enum { EPS_POWER_SHIFT_CONSTANT,
276:                EPS_POWER_SHIFT_RAYLEIGH,
277:                EPS_POWER_SHIFT_WILKINSON } EPSPowerShiftType;
278: PETSC_EXTERN const char *EPSPowerShiftTypes[];

280: PETSC_EXTERN PetscErrorCode EPSPowerSetShiftType(EPS,EPSPowerShiftType);
281: PETSC_EXTERN PetscErrorCode EPSPowerGetShiftType(EPS,EPSPowerShiftType*);

283: PETSC_EXTERN PetscErrorCode EPSArnoldiSetDelayed(EPS,PetscBool);
284: PETSC_EXTERN PetscErrorCode EPSArnoldiGetDelayed(EPS,PetscBool*);

286: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetRestart(EPS,PetscReal);
287: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetRestart(EPS,PetscReal*);

289: /*E
290:     EPSLanczosReorthogType - determines the type of reorthogonalization
291:     used in the Lanczos method

293:     Level: advanced

295: .seealso: EPSLanczosSetReorthog(), EPSLanczosGetReorthog()
296: E*/
297: typedef enum { EPS_LANCZOS_REORTHOG_LOCAL,
298:                EPS_LANCZOS_REORTHOG_FULL,
299:                EPS_LANCZOS_REORTHOG_SELECTIVE,
300:                EPS_LANCZOS_REORTHOG_PERIODIC,
301:                EPS_LANCZOS_REORTHOG_PARTIAL,
302:                EPS_LANCZOS_REORTHOG_DELAYED } EPSLanczosReorthogType;
303: PETSC_EXTERN const char *EPSLanczosReorthogTypes[];

305: PETSC_EXTERN PetscErrorCode EPSLanczosSetReorthog(EPS,EPSLanczosReorthogType);
306: PETSC_EXTERN PetscErrorCode EPSLanczosGetReorthog(EPS,EPSLanczosReorthogType*);

308: PETSC_EXTERN PetscErrorCode EPSBlzpackSetBlockSize(EPS,PetscInt);
309: PETSC_EXTERN PetscErrorCode EPSBlzpackSetNSteps(EPS,PetscInt);

311: /*E
312:     EPSPRIMMEMethod - determines the method selected in the PRIMME library

314:     Level: advanced

316: .seealso: EPSPRIMMESetMethod(), EPSPRIMMEGetMethod()
317: E*/
318: typedef enum { EPS_PRIMME_DYNAMIC,
319:                EPS_PRIMME_DEFAULT_MIN_TIME,
320:                EPS_PRIMME_DEFAULT_MIN_MATVECS,
321:                EPS_PRIMME_ARNOLDI,
322:                EPS_PRIMME_GD,
323:                EPS_PRIMME_GD_PLUSK,
324:                EPS_PRIMME_GD_OLSEN_PLUSK,
325:                EPS_PRIMME_JD_OLSEN_PLUSK,
326:                EPS_PRIMME_RQI,
327:                EPS_PRIMME_JDQR,
328:                EPS_PRIMME_JDQMR,
329:                EPS_PRIMME_JDQMR_ETOL,
330:                EPS_PRIMME_SUBSPACE_ITERATION,
331:                EPS_PRIMME_LOBPCG_ORTHOBASIS,
332:                EPS_PRIMME_LOBPCG_ORTHOBASISW } EPSPRIMMEMethod;
333: PETSC_EXTERN const char *EPSPRIMMEMethods[];

335: PETSC_EXTERN PetscErrorCode EPSPRIMMESetBlockSize(EPS eps,PetscInt bs);
336: PETSC_EXTERN PetscErrorCode EPSPRIMMESetMethod(EPS eps, EPSPRIMMEMethod method);
337: PETSC_EXTERN PetscErrorCode EPSPRIMMEGetBlockSize(EPS eps,PetscInt *bs);
338: PETSC_EXTERN PetscErrorCode EPSPRIMMEGetMethod(EPS eps, EPSPRIMMEMethod *method);

340: /*E
341:     EPSOrthType - determines the orthogonalization used in the search subspace

343:     Level: advanced

345: .seealso: EPSGDSetBOrth(), EPSJDSetBOrth()
346: E*/
347: typedef enum { EPS_ORTH_I=1,
348:                EPS_ORTH_B,
349:                EPS_ORTH_BOPT } EPSOrthType;

351: PETSC_EXTERN PetscErrorCode EPSGDSetKrylovStart(EPS eps,PetscBool krylovstart);
352: PETSC_EXTERN PetscErrorCode EPSGDGetKrylovStart(EPS eps,PetscBool *krylovstart);
353: PETSC_EXTERN PetscErrorCode EPSGDSetBlockSize(EPS eps,PetscInt blocksize);
354: PETSC_EXTERN PetscErrorCode EPSGDGetBlockSize(EPS eps,PetscInt *blocksize);
355: PETSC_EXTERN PetscErrorCode EPSGDSetRestart(EPS eps,PetscInt minv,PetscInt plusk);
356: PETSC_EXTERN PetscErrorCode EPSGDGetRestart(EPS eps,PetscInt *minv,PetscInt *plusk);
357: PETSC_EXTERN PetscErrorCode EPSGDSetInitialSize(EPS eps,PetscInt initialsize);
358: PETSC_EXTERN PetscErrorCode EPSGDGetInitialSize(EPS eps,PetscInt *initialsize);
359: PETSC_EXTERN PetscErrorCode EPSGDSetBOrth(EPS eps,EPSOrthType borth);
360: PETSC_EXTERN PetscErrorCode EPSGDGetBOrth(EPS eps,EPSOrthType *borth);
361: PETSC_EXTERN PetscErrorCode EPSGDGetWindowSizes(EPS eps,PetscInt *pwindow,PetscInt *qwindow);
362: PETSC_EXTERN PetscErrorCode EPSGDSetWindowSizes(EPS eps,PetscInt pwindow,PetscInt qwindow);
363: PETSC_EXTERN PetscErrorCode EPSGDSetDoubleExpansion(EPS eps,PetscBool use_gd2);
364: PETSC_EXTERN PetscErrorCode EPSGDGetDoubleExpansion(EPS eps,PetscBool *flg);

366: PETSC_EXTERN PetscErrorCode EPSJDSetKrylovStart(EPS eps,PetscBool krylovstart);
367: PETSC_EXTERN PetscErrorCode EPSJDGetKrylovStart(EPS eps,PetscBool *krylovstart);
368: PETSC_EXTERN PetscErrorCode EPSJDSetBlockSize(EPS eps,PetscInt blocksize);
369: PETSC_EXTERN PetscErrorCode EPSJDGetBlockSize(EPS eps,PetscInt *blocksize);
370: PETSC_EXTERN PetscErrorCode EPSJDSetRestart(EPS eps,PetscInt minv,PetscInt plusk);
371: PETSC_EXTERN PetscErrorCode EPSJDGetRestart(EPS eps,PetscInt *minv,PetscInt *plusk);
372: PETSC_EXTERN PetscErrorCode EPSJDSetInitialSize(EPS eps,PetscInt initialsize);
373: PETSC_EXTERN PetscErrorCode EPSJDGetInitialSize(EPS eps,PetscInt *initialsize);
374: PETSC_EXTERN PetscErrorCode EPSJDSetFix(EPS eps,PetscReal fix);
375: PETSC_EXTERN PetscErrorCode EPSJDGetFix(EPS eps,PetscReal *fix);
376: PETSC_EXTERN PetscErrorCode EPSJDSetConstCorrectionTol(EPS eps,PetscBool dynamic);
377: PETSC_EXTERN PetscErrorCode EPSJDGetConstCorrectionTol(EPS eps,PetscBool *dynamic);
378: PETSC_EXTERN PetscErrorCode EPSJDSetBOrth(EPS eps,EPSOrthType borth);
379: PETSC_EXTERN PetscErrorCode EPSJDGetBOrth(EPS eps,EPSOrthType *borth);
380: PETSC_EXTERN PetscErrorCode EPSJDGetWindowSizes(EPS eps,PetscInt *pwindow,PetscInt *qwindow);
381: PETSC_EXTERN PetscErrorCode EPSJDSetWindowSizes(EPS eps,PetscInt pwindow,PetscInt qwindow);

383: PETSC_EXTERN PetscErrorCode EPSRQCGSetReset(EPS,PetscInt);
384: PETSC_EXTERN PetscErrorCode EPSRQCGGetReset(EPS,PetscInt*);

386: PETSC_EXTERN PetscErrorCode EPSCISSSetRegion(EPS,PetscScalar,PetscReal,PetscReal);
387: PETSC_EXTERN PetscErrorCode EPSCISSGetRegion(EPS,PetscScalar*,PetscReal*,PetscReal*);
388: PETSC_EXTERN PetscErrorCode EPSCISSSetSizes(EPS,PetscInt,PetscInt,PetscInt,PetscInt,PetscInt,PetscBool);
389: PETSC_EXTERN PetscErrorCode EPSCISSGetSizes(EPS,PetscInt*,PetscInt*,PetscInt*,PetscInt*,PetscInt*,PetscBool*);
390: PETSC_EXTERN PetscErrorCode EPSCISSSetThreshold(EPS,PetscReal,PetscReal);
391: PETSC_EXTERN PetscErrorCode EPSCISSGetThreshold(EPS,PetscReal*,PetscReal*);
392: PETSC_EXTERN PetscErrorCode EPSCISSSetRefinement(EPS,PetscInt,PetscInt,PetscInt);
393: PETSC_EXTERN PetscErrorCode EPSCISSGetRefinement(EPS,PetscInt*,PetscInt*,PetscInt*);

395: PETSC_EXTERN PetscErrorCode EPSFEASTSetNumPoints(EPS,PetscInt);
396: PETSC_EXTERN PetscErrorCode EPSFEASTGetNumPoints(EPS,PetscInt*);

398: #endif