Actual source code: slepceps.h

slepc-3.5.3 2014-12-19
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-2014, 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 EPSCISS        "ciss"
 60: #define EPSLAPACK      "lapack"
 61: #define EPSARPACK      "arpack"
 62: #define EPSBLZPACK     "blzpack"
 63: #define EPSTRLAN       "trlan"
 64: #define EPSBLOPEX      "blopex"
 65: #define EPSPRIMME      "primme"
 66: #define EPSFEAST       "feast"

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

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

 74:     Level: beginner

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

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

 89:     Level: beginner

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

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

104:     Level: intermediate

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

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

123:     Level: intermediate

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

133: /*E
134:     EPSConv - Determines the convergence test

136:     Level: intermediate

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

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

164: PETSC_EXTERN PetscErrorCode EPSSetTarget(EPS,PetscScalar);
165: PETSC_EXTERN PetscErrorCode EPSGetTarget(EPS,PetscScalar*);
166: PETSC_EXTERN PetscErrorCode EPSSetInterval(EPS,PetscReal,PetscReal);
167: PETSC_EXTERN PetscErrorCode EPSGetInterval(EPS,PetscReal*,PetscReal*);
168: PETSC_EXTERN PetscErrorCode EPSSetST(EPS,ST);
169: PETSC_EXTERN PetscErrorCode EPSGetST(EPS,ST*);
170: PETSC_EXTERN PetscErrorCode EPSSetBV(EPS,BV);
171: PETSC_EXTERN PetscErrorCode EPSGetBV(EPS,BV*);
172: PETSC_EXTERN PetscErrorCode EPSSetRG(EPS,RG);
173: PETSC_EXTERN PetscErrorCode EPSGetRG(EPS,RG*);
174: PETSC_EXTERN PetscErrorCode EPSSetDS(EPS,DS);
175: PETSC_EXTERN PetscErrorCode EPSGetDS(EPS,DS*);
176: PETSC_EXTERN PetscErrorCode EPSSetTolerances(EPS,PetscReal,PetscInt);
177: PETSC_EXTERN PetscErrorCode EPSGetTolerances(EPS,PetscReal*,PetscInt*);
178: PETSC_EXTERN PetscErrorCode EPSSetConvergenceTestFunction(EPS,PetscErrorCode (*)(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*),void*,PetscErrorCode (*)(void*));
179: PETSC_EXTERN PetscErrorCode EPSSetConvergenceTest(EPS,EPSConv);
180: PETSC_EXTERN PetscErrorCode EPSGetConvergenceTest(EPS,EPSConv*);
181: PETSC_EXTERN PetscErrorCode EPSConvergedEigRelative(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
182: PETSC_EXTERN PetscErrorCode EPSConvergedAbsolute(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
183: PETSC_EXTERN PetscErrorCode EPSConvergedNormRelative(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*);
184: PETSC_EXTERN PetscErrorCode EPSSetDimensions(EPS,PetscInt,PetscInt,PetscInt);
185: PETSC_EXTERN PetscErrorCode EPSGetDimensions(EPS,PetscInt*,PetscInt*,PetscInt*);

187: PETSC_EXTERN PetscErrorCode EPSGetConverged(EPS,PetscInt*);
188: PETSC_EXTERN PetscErrorCode EPSGetEigenpair(EPS,PetscInt,PetscScalar*,PetscScalar*,Vec,Vec);
189: PETSC_EXTERN PetscErrorCode EPSGetEigenvalue(EPS,PetscInt,PetscScalar*,PetscScalar*);
190: PETSC_EXTERN PetscErrorCode EPSGetEigenvector(EPS,PetscInt,Vec,Vec);
191: PETSC_EXTERN PetscErrorCode EPSComputeRelativeError(EPS,PetscInt,PetscReal*);
192: PETSC_EXTERN PetscErrorCode EPSComputeResidualNorm(EPS,PetscInt,PetscReal*);
193: PETSC_EXTERN PetscErrorCode EPSGetInvariantSubspace(EPS,Vec*);
194: PETSC_EXTERN PetscErrorCode EPSGetErrorEstimate(EPS,PetscInt,PetscReal*);

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

202: PETSC_EXTERN PetscErrorCode EPSSetWhichEigenpairs(EPS,EPSWhich);
203: PETSC_EXTERN PetscErrorCode EPSGetWhichEigenpairs(EPS,EPSWhich*);
204: PETSC_EXTERN PetscErrorCode EPSSetTrueResidual(EPS,PetscBool);
205: PETSC_EXTERN PetscErrorCode EPSGetTrueResidual(EPS,PetscBool*);
206: PETSC_EXTERN PetscErrorCode EPSSetEigenvalueComparison(EPS,PetscErrorCode (*func)(PetscScalar,PetscScalar,PetscScalar,PetscScalar,PetscInt*,void*),void*);
207: PETSC_EXTERN PetscErrorCode EPSSetArbitrarySelection(EPS,PetscErrorCode (*func)(PetscScalar,PetscScalar,Vec,Vec,PetscScalar*,PetscScalar*,void*),void*);
208: PETSC_EXTERN PetscErrorCode EPSIsGeneralized(EPS,PetscBool*);
209: PETSC_EXTERN PetscErrorCode EPSIsHermitian(EPS,PetscBool*);
210: PETSC_EXTERN PetscErrorCode EPSIsPositive(EPS,PetscBool*);

212: PETSC_EXTERN PetscErrorCode EPSMonitorFirst(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
213: PETSC_EXTERN PetscErrorCode EPSMonitorAll(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
214: PETSC_EXTERN PetscErrorCode EPSMonitorConverged(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
215: PETSC_EXTERN PetscErrorCode EPSMonitorLG(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);
216: PETSC_EXTERN PetscErrorCode EPSMonitorLGAll(EPS,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,void*);

218: PETSC_EXTERN PetscErrorCode EPSSetTrackAll(EPS,PetscBool);
219: PETSC_EXTERN PetscErrorCode EPSGetTrackAll(EPS,PetscBool*);

221: PETSC_EXTERN PetscErrorCode EPSSetDeflationSpace(EPS,PetscInt,Vec*);
222: PETSC_EXTERN PetscErrorCode EPSSetInitialSpace(EPS,PetscInt,Vec*);

224: PETSC_EXTERN PetscErrorCode EPSSetOptionsPrefix(EPS,const char*);
225: PETSC_EXTERN PetscErrorCode EPSAppendOptionsPrefix(EPS,const char*);
226: PETSC_EXTERN PetscErrorCode EPSGetOptionsPrefix(EPS,const char*[]);

228: /*E
229:     EPSConvergedReason - Reason an eigensolver was said to
230:          have converged or diverged

232:     Level: beginner

234: .seealso: EPSSolve(), EPSGetConvergedReason(), EPSSetTolerances()
235: E*/
236: typedef enum {/* converged */
237:               EPS_CONVERGED_TOL                =  2,
238:               /* diverged */
239:               EPS_DIVERGED_ITS                 = -3,
240:               EPS_DIVERGED_BREAKDOWN           = -4,
241:               EPS_CONVERGED_ITERATING          =  0} EPSConvergedReason;

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

245: PETSC_EXTERN PetscFunctionList EPSList;
246: PETSC_EXTERN PetscBool         EPSRegisterAllCalled;
247: PETSC_EXTERN PetscErrorCode EPSRegisterAll(void);
248: PETSC_EXTERN PetscErrorCode EPSRegister(const char[],PetscErrorCode(*)(EPS));

250: PETSC_EXTERN PetscErrorCode EPSSetWorkVecs(EPS,PetscInt);
251: PETSC_EXTERN PetscErrorCode EPSAllocateSolution(EPS,PetscInt);

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

255: /*E
256:     EPSPowerShiftType - determines the type of shift used in the Power iteration

258:     Level: advanced

260: .seealso: EPSPowerSetShiftType(), EPSPowerGetShiftType()
261: E*/
262: typedef enum { EPS_POWER_SHIFT_CONSTANT,
263:                EPS_POWER_SHIFT_RAYLEIGH,
264:                EPS_POWER_SHIFT_WILKINSON } EPSPowerShiftType;
265: PETSC_EXTERN const char *EPSPowerShiftTypes[];

267: PETSC_EXTERN PetscErrorCode EPSPowerSetShiftType(EPS,EPSPowerShiftType);
268: PETSC_EXTERN PetscErrorCode EPSPowerGetShiftType(EPS,EPSPowerShiftType*);

270: PETSC_EXTERN PetscErrorCode EPSArnoldiSetDelayed(EPS,PetscBool);
271: PETSC_EXTERN PetscErrorCode EPSArnoldiGetDelayed(EPS,PetscBool*);

273: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetRestart(EPS,PetscReal);
274: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetRestart(EPS,PetscReal*);
275: PETSC_EXTERN PetscErrorCode EPSKrylovSchurSetDimensions(EPS,PetscInt,PetscInt,PetscInt);
276: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetDimensions(EPS,PetscInt*,PetscInt*,PetscInt*);
277: PETSC_EXTERN PetscErrorCode EPSKrylovSchurGetInertias(EPS,PetscInt*,PetscReal**,PetscInt**);

279: /*E
280:     EPSLanczosReorthogType - determines the type of reorthogonalization
281:     used in the Lanczos method

283:     Level: advanced

285: .seealso: EPSLanczosSetReorthog(), EPSLanczosGetReorthog()
286: E*/
287: typedef enum { EPS_LANCZOS_REORTHOG_LOCAL,
288:                EPS_LANCZOS_REORTHOG_FULL,
289:                EPS_LANCZOS_REORTHOG_SELECTIVE,
290:                EPS_LANCZOS_REORTHOG_PERIODIC,
291:                EPS_LANCZOS_REORTHOG_PARTIAL,
292:                EPS_LANCZOS_REORTHOG_DELAYED } EPSLanczosReorthogType;
293: PETSC_EXTERN const char *EPSLanczosReorthogTypes[];

295: PETSC_EXTERN PetscErrorCode EPSLanczosSetReorthog(EPS,EPSLanczosReorthogType);
296: PETSC_EXTERN PetscErrorCode EPSLanczosGetReorthog(EPS,EPSLanczosReorthogType*);

298: PETSC_EXTERN PetscErrorCode EPSBlzpackSetBlockSize(EPS,PetscInt);
299: PETSC_EXTERN PetscErrorCode EPSBlzpackSetNSteps(EPS,PetscInt);

301: /*E
302:     EPSPRIMMEMethod - determines the method selected in the PRIMME library

304:     Level: advanced

306: .seealso: EPSPRIMMESetMethod(), EPSPRIMMEGetMethod()
307: E*/
308: typedef enum { EPS_PRIMME_DYNAMIC,
309:                EPS_PRIMME_DEFAULT_MIN_TIME,
310:                EPS_PRIMME_DEFAULT_MIN_MATVECS,
311:                EPS_PRIMME_ARNOLDI,
312:                EPS_PRIMME_GD,
313:                EPS_PRIMME_GD_PLUSK,
314:                EPS_PRIMME_GD_OLSEN_PLUSK,
315:                EPS_PRIMME_JD_OLSEN_PLUSK,
316:                EPS_PRIMME_RQI,
317:                EPS_PRIMME_JDQR,
318:                EPS_PRIMME_JDQMR,
319:                EPS_PRIMME_JDQMR_ETOL,
320:                EPS_PRIMME_SUBSPACE_ITERATION,
321:                EPS_PRIMME_LOBPCG_ORTHOBASIS,
322:                EPS_PRIMME_LOBPCG_ORTHOBASISW } EPSPRIMMEMethod;
323: PETSC_EXTERN const char *EPSPRIMMEMethods[];

325: PETSC_EXTERN PetscErrorCode EPSPRIMMESetBlockSize(EPS eps,PetscInt bs);
326: PETSC_EXTERN PetscErrorCode EPSPRIMMESetMethod(EPS eps, EPSPRIMMEMethod method);
327: PETSC_EXTERN PetscErrorCode EPSPRIMMEGetBlockSize(EPS eps,PetscInt *bs);
328: PETSC_EXTERN PetscErrorCode EPSPRIMMEGetMethod(EPS eps, EPSPRIMMEMethod *method);

330: PETSC_EXTERN PetscErrorCode EPSGDSetKrylovStart(EPS eps,PetscBool krylovstart);
331: PETSC_EXTERN PetscErrorCode EPSGDGetKrylovStart(EPS eps,PetscBool *krylovstart);
332: PETSC_EXTERN PetscErrorCode EPSGDSetBlockSize(EPS eps,PetscInt blocksize);
333: PETSC_EXTERN PetscErrorCode EPSGDGetBlockSize(EPS eps,PetscInt *blocksize);
334: PETSC_EXTERN PetscErrorCode EPSGDSetRestart(EPS eps,PetscInt minv,PetscInt plusk);
335: PETSC_EXTERN PetscErrorCode EPSGDGetRestart(EPS eps,PetscInt *minv,PetscInt *plusk);
336: PETSC_EXTERN PetscErrorCode EPSGDSetInitialSize(EPS eps,PetscInt initialsize);
337: PETSC_EXTERN PetscErrorCode EPSGDGetInitialSize(EPS eps,PetscInt *initialsize);
338: PETSC_EXTERN PetscErrorCode EPSGDSetBOrth(EPS eps,PetscBool borth);
339: PETSC_EXTERN PetscErrorCode EPSGDGetBOrth(EPS eps,PetscBool *borth);
340: PETSC_EXTERN PetscErrorCode EPSGDGetWindowSizes(EPS eps,PetscInt *pwindow,PetscInt *qwindow);
341: PETSC_EXTERN PetscErrorCode EPSGDSetWindowSizes(EPS eps,PetscInt pwindow,PetscInt qwindow);
342: PETSC_EXTERN PetscErrorCode EPSGDSetDoubleExpansion(EPS eps,PetscBool use_gd2);
343: PETSC_EXTERN PetscErrorCode EPSGDGetDoubleExpansion(EPS eps,PetscBool *flg);

345: PETSC_EXTERN PetscErrorCode EPSJDSetKrylovStart(EPS eps,PetscBool krylovstart);
346: PETSC_EXTERN PetscErrorCode EPSJDGetKrylovStart(EPS eps,PetscBool *krylovstart);
347: PETSC_EXTERN PetscErrorCode EPSJDSetBlockSize(EPS eps,PetscInt blocksize);
348: PETSC_EXTERN PetscErrorCode EPSJDGetBlockSize(EPS eps,PetscInt *blocksize);
349: PETSC_EXTERN PetscErrorCode EPSJDSetRestart(EPS eps,PetscInt minv,PetscInt plusk);
350: PETSC_EXTERN PetscErrorCode EPSJDGetRestart(EPS eps,PetscInt *minv,PetscInt *plusk);
351: PETSC_EXTERN PetscErrorCode EPSJDSetInitialSize(EPS eps,PetscInt initialsize);
352: PETSC_EXTERN PetscErrorCode EPSJDGetInitialSize(EPS eps,PetscInt *initialsize);
353: PETSC_EXTERN PetscErrorCode EPSJDSetFix(EPS eps,PetscReal fix);
354: PETSC_EXTERN PetscErrorCode EPSJDGetFix(EPS eps,PetscReal *fix);
355: PETSC_EXTERN PetscErrorCode EPSJDSetConstCorrectionTol(EPS eps,PetscBool dynamic);
356: PETSC_EXTERN PetscErrorCode EPSJDGetConstCorrectionTol(EPS eps,PetscBool *dynamic);
357: PETSC_EXTERN PetscErrorCode EPSJDSetBOrth(EPS eps,PetscBool borth);
358: PETSC_EXTERN PetscErrorCode EPSJDGetBOrth(EPS eps,PetscBool *borth);
359: PETSC_EXTERN PetscErrorCode EPSJDGetWindowSizes(EPS eps,PetscInt *pwindow,PetscInt *qwindow);
360: PETSC_EXTERN PetscErrorCode EPSJDSetWindowSizes(EPS eps,PetscInt pwindow,PetscInt qwindow);

362: PETSC_EXTERN PetscErrorCode EPSRQCGSetReset(EPS,PetscInt);
363: PETSC_EXTERN PetscErrorCode EPSRQCGGetReset(EPS,PetscInt*);

365: PETSC_EXTERN PetscErrorCode EPSCISSSetRegion(EPS,PetscScalar,PetscReal,PetscReal);
366: PETSC_EXTERN PetscErrorCode EPSCISSGetRegion(EPS,PetscScalar*,PetscReal*,PetscReal*);
367: PETSC_EXTERN PetscErrorCode EPSCISSSetSizes(EPS,PetscInt,PetscInt,PetscInt,PetscInt,PetscInt,PetscBool);
368: PETSC_EXTERN PetscErrorCode EPSCISSGetSizes(EPS,PetscInt*,PetscInt*,PetscInt*,PetscInt*,PetscInt*,PetscBool*);
369: PETSC_EXTERN PetscErrorCode EPSCISSSetThreshold(EPS,PetscReal,PetscReal);
370: PETSC_EXTERN PetscErrorCode EPSCISSGetThreshold(EPS,PetscReal*,PetscReal*);
371: PETSC_EXTERN PetscErrorCode EPSCISSSetRefinement(EPS,PetscInt,PetscInt,PetscInt);
372: PETSC_EXTERN PetscErrorCode EPSCISSGetRefinement(EPS,PetscInt*,PetscInt*,PetscInt*);
373: PETSC_EXTERN PetscErrorCode EPSCISSSetUseST(EPS,PetscBool);
374: PETSC_EXTERN PetscErrorCode EPSCISSGetUseST(EPS,PetscBool*);

376: PETSC_EXTERN PetscErrorCode EPSFEASTSetNumPoints(EPS,PetscInt);
377: PETSC_EXTERN PetscErrorCode EPSFEASTGetNumPoints(EPS,PetscInt*);

379: #endif