Actual source code: itregis.c
1: /*
2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: SLEPc - Scalable Library for Eigenvalue Problem Computations
4: Copyright (c) 2002-2007, Universidad Politecnica de Valencia, Spain
6: This file is part of SLEPc. See the README file for conditions of use
7: and additional information.
8: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9: */
11: #include src/eps/epsimpl.h
14: EXTERN PetscErrorCode EPSCreate_POWER(EPS);
15: EXTERN PetscErrorCode EPSCreate_SUBSPACE(EPS);
16: EXTERN PetscErrorCode EPSCreate_ARNOLDI(EPS);
17: EXTERN PetscErrorCode EPSCreate_LANCZOS(EPS);
18: EXTERN PetscErrorCode EPSCreate_KRYLOVSCHUR(EPS);
19: #if defined(SLEPC_HAVE_ARPACK)
20: EXTERN PetscErrorCode EPSCreate_ARPACK(EPS);
21: #endif
22: EXTERN PetscErrorCode EPSCreate_LAPACK(EPS);
23: #if defined(SLEPC_HAVE_BLZPACK) && !defined(PETSC_USE_COMPLEX)
24: EXTERN PetscErrorCode EPSCreate_BLZPACK(EPS);
25: #endif
26: #if defined(SLEPC_HAVE_TRLAN) && !defined(PETSC_USE_COMPLEX)
27: EXTERN PetscErrorCode EPSCreate_TRLAN(EPS);
28: #endif
29: #if defined(PETSC_HAVE_BLOPEX) && !defined(PETSC_USE_COMPLEX)
30: EXTERN PetscErrorCode EPSCreate_BLOPEX(EPS);
31: #endif
32: #if defined(SLEPC_HAVE_PRIMME)
33: EXTERN PetscErrorCode EPSCreate_PRIMME(EPS eps);
34: #endif
36:
39: /*@C
40: EPSRegisterAll - Registers all the eigenvalue solvers in the EPS package.
42: Not Collective
44: Level: advanced
46: .seealso: EPSRegisterDynamic()
47: @*/
48: PetscErrorCode EPSRegisterAll(char *path)
49: {
54: EPSRegisterDynamic(EPSPOWER, path,"EPSCreate_POWER",
55: EPSCreate_POWER);
56: EPSRegisterDynamic(EPSSUBSPACE, path,"EPSCreate_SUBSPACE",
57: EPSCreate_SUBSPACE);
58: EPSRegisterDynamic(EPSARNOLDI, path,"EPSCreate_ARNOLDI",
59: EPSCreate_ARNOLDI);
60: EPSRegisterDynamic(EPSLANCZOS, path,"EPSCreate_LANCZOS",
61: EPSCreate_LANCZOS);
62: EPSRegisterDynamic(EPSKRYLOVSCHUR, path,"EPSCreate_KRYLOVSCHUR",
63: EPSCreate_KRYLOVSCHUR);
64: #if defined(SLEPC_HAVE_ARPACK)
65: EPSRegisterDynamic(EPSARPACK, path,"EPSCreate_ARPACK",
66: EPSCreate_ARPACK);
67: #endif
68: EPSRegisterDynamic(EPSLAPACK, path,"EPSCreate_LAPACK",
69: EPSCreate_LAPACK);
70: #if defined(SLEPC_HAVE_BLZPACK) && !defined(PETSC_USE_COMPLEX)
71: EPSRegisterDynamic(EPSBLZPACK, path,"EPSCreate_BLZPACK",
72: EPSCreate_BLZPACK);
73: #endif
74: #if defined(SLEPC_HAVE_TRLAN) && !defined(PETSC_USE_COMPLEX)
75: EPSRegisterDynamic(EPSTRLAN, path,"EPSCreate_TRLAN",
76: EPSCreate_TRLAN);
77: #endif
78: #if defined(PETSC_HAVE_BLOPEX) && !defined(PETSC_USE_COMPLEX)
79: EPSRegisterDynamic(EPSBLOPEX, path,"EPSCreate_BLOPEX",
80: EPSCreate_BLOPEX);
81: #endif
82: #if defined(SLEPC_HAVE_PRIMME)
83: EPSRegisterDynamic(EPSPRIMME, path, "EPSCreate_PRIMME",
84: EPSCreate_PRIMME);
85: #endif
86: return(0);
87: }