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: #if defined(SLEPC_HAVE_ARPACK)
10: EXTERN PetscErrorCode EPSCreate_ARPACK(EPS);
11: #endif
12: EXTERN PetscErrorCode EPSCreate_LAPACK(EPS);
13: #if defined(SLEPC_HAVE_BLZPACK) && !defined(PETSC_USE_COMPLEX)
14: EXTERN PetscErrorCode EPSCreate_BLZPACK(EPS);
15: #endif
16: #if defined(SLEPC_HAVE_PLANSO) && !defined(PETSC_USE_COMPLEX)
17: EXTERN PetscErrorCode EPSCreate_PLANSO(EPS);
18: #endif
19: #if defined(SLEPC_HAVE_TRLAN) && !defined(PETSC_USE_COMPLEX)
20: EXTERN PetscErrorCode EPSCreate_TRLAN(EPS);
21: #endif
22: #if defined(PETSC_HAVE_HYPRE) && !defined(PETSC_USE_COMPLEX)
23: EXTERN PetscErrorCode EPSCreate_LOBPCG(EPS);
24: #endif
26:
27: /*
28: This is used by EPSSetType() to make sure that at least one
29: EPSRegisterAll() is called. In general, if there is more than one
30: DLL, then EPSRegisterAll() may be called several times.
31: */
35: /*@C
36: EPSRegisterAll - Registers all the eigenvalue solvers in the EPS package.
38: Not Collective
40: Level: advanced
42: .seealso: EPSRegisterDynamic()
43: @*/
44: PetscErrorCode EPSRegisterAll(char *path)
45: {
50: EPSRegisterDynamic(EPSPOWER, path,"EPSCreate_POWER",
51: EPSCreate_POWER);
52: EPSRegisterDynamic(EPSSUBSPACE, path,"EPSCreate_SUBSPACE",
53: EPSCreate_SUBSPACE);
54: EPSRegisterDynamic(EPSARNOLDI, path,"EPSCreate_ARNOLDI",
55: EPSCreate_ARNOLDI);
56: EPSRegisterDynamic(EPSLANCZOS, path,"EPSCreate_LANCZOS",
57: EPSCreate_LANCZOS);
58: #if defined(SLEPC_HAVE_ARPACK)
59: EPSRegisterDynamic(EPSARPACK, path,"EPSCreate_ARPACK",
60: EPSCreate_ARPACK);
61: #endif
62: EPSRegisterDynamic(EPSLAPACK, path,"EPSCreate_LAPACK",
63: EPSCreate_LAPACK);
64: #if defined(SLEPC_HAVE_BLZPACK) && !defined(PETSC_USE_COMPLEX)
65: EPSRegisterDynamic(EPSBLZPACK, path,"EPSCreate_BLZPACK",
66: EPSCreate_BLZPACK);
67: #endif
68: #if defined(SLEPC_HAVE_PLANSO) && !defined(PETSC_USE_COMPLEX)
69: EPSRegisterDynamic(EPSPLANSO, path,"EPSCreate_PLANSO",
70: EPSCreate_PLANSO);
71: #endif
72: #if defined(SLEPC_HAVE_TRLAN) && !defined(PETSC_USE_COMPLEX)
73: EPSRegisterDynamic(EPSTRLAN, path,"EPSCreate_TRLAN",
74: EPSCreate_TRLAN);
75: #endif
76: #if defined(PETSC_HAVE_HYPRE) && !defined(PETSC_USE_COMPLEX)
77: EPSRegisterDynamic(EPSLOBPCG, path,"EPSCreate_LOBPCG",
78: EPSCreate_LOBPCG);
79: #endif
80: return(0);
81: }