Actual source code: itregis.c
2: #include src/eps/epsimpl.h
5: EXTERN PetscErrorCode EPSCreate_POWER(EPS);
6: EXTERN PetscErrorCode EPSCreate_SUBSPACE(EPS);
7: EXTERN PetscErrorCode EPSCreate_ARNOLDI(EPS);
8: EXTERN PetscErrorCode EPSCreate_LANCZOS(EPS);
9: EXTERN PetscErrorCode EPSCreate_KRYLOVSCHUR(EPS);
10: #if defined(SLEPC_HAVE_ARPACK)
11: EXTERN PetscErrorCode EPSCreate_ARPACK(EPS);
12: #endif
13: EXTERN PetscErrorCode EPSCreate_LAPACK(EPS);
14: #if defined(SLEPC_HAVE_BLZPACK) && !defined(PETSC_USE_COMPLEX)
15: EXTERN PetscErrorCode EPSCreate_BLZPACK(EPS);
16: #endif
17: #if defined(SLEPC_HAVE_TRLAN) && !defined(PETSC_USE_COMPLEX)
18: EXTERN PetscErrorCode EPSCreate_TRLAN(EPS);
19: #endif
20: #if defined(PETSC_HAVE_BLOPEX) && !defined(PETSC_USE_COMPLEX)
21: EXTERN PetscErrorCode EPSCreate_BLOPEX(EPS);
22: #endif
23: #if defined(SLEPC_HAVE_PRIMME)
24: EXTERN PetscErrorCode EPSCreate_PRIMME(EPS eps);
25: #endif
27:
28: /*
29: This is used by EPSSetType() to make sure that at least one
30: EPSRegisterAll() is called. In general, if there is more than one
31: DLL, then EPSRegisterAll() may be called several times.
32: */
36: /*@C
37: EPSRegisterAll - Registers all the eigenvalue solvers in the EPS package.
39: Not Collective
41: Level: advanced
43: .seealso: EPSRegisterDynamic()
44: @*/
45: PetscErrorCode EPSRegisterAll(char *path)
46: {
51: EPSRegisterDynamic(EPSPOWER, path,"EPSCreate_POWER",
52: EPSCreate_POWER);
53: EPSRegisterDynamic(EPSSUBSPACE, path,"EPSCreate_SUBSPACE",
54: EPSCreate_SUBSPACE);
55: EPSRegisterDynamic(EPSARNOLDI, path,"EPSCreate_ARNOLDI",
56: EPSCreate_ARNOLDI);
57: EPSRegisterDynamic(EPSLANCZOS, path,"EPSCreate_LANCZOS",
58: EPSCreate_LANCZOS);
59: EPSRegisterDynamic(EPSKRYLOVSCHUR, path,"EPSCreate_KRYLOVSCHUR",
60: EPSCreate_KRYLOVSCHUR);
61: #if defined(SLEPC_HAVE_ARPACK)
62: EPSRegisterDynamic(EPSARPACK, path,"EPSCreate_ARPACK",
63: EPSCreate_ARPACK);
64: #endif
65: EPSRegisterDynamic(EPSLAPACK, path,"EPSCreate_LAPACK",
66: EPSCreate_LAPACK);
67: #if defined(SLEPC_HAVE_BLZPACK) && !defined(PETSC_USE_COMPLEX)
68: EPSRegisterDynamic(EPSBLZPACK, path,"EPSCreate_BLZPACK",
69: EPSCreate_BLZPACK);
70: #endif
71: #if defined(SLEPC_HAVE_TRLAN) && !defined(PETSC_USE_COMPLEX)
72: EPSRegisterDynamic(EPSTRLAN, path,"EPSCreate_TRLAN",
73: EPSCreate_TRLAN);
74: #endif
75: #if defined(PETSC_HAVE_BLOPEX) && !defined(PETSC_USE_COMPLEX)
76: EPSRegisterDynamic(EPSBLOPEX, path,"EPSCreate_BLOPEX",
77: EPSCreate_BLOPEX);
78: #endif
79: #if defined(SLEPC_HAVE_PRIMME)
80: EPSRegisterDynamic(EPSPRIMME, path, "EPSCreate_PRIMME",
81: EPSCreate_PRIMME);
82: #endif
83: return(0);
84: }