Actual source code: svdregis.c
1: /*
2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: SLEPc - Scalable Library for Eigenvalue Problem Computations
4: Copyright (c) 2002-2010, Universidad Politecnica de Valencia, Spain
6: This file is part of SLEPc.
7:
8: SLEPc is free software: you can redistribute it and/or modify it under the
9: terms of version 3 of the GNU Lesser General Public License as published by
10: the Free Software Foundation.
12: SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
13: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14: FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15: more details.
17: You should have received a copy of the GNU Lesser General Public License
18: along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
19: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20: */
22: #include private/svdimpl.h
25: EXTERN PetscErrorCode SVDCreate_CROSS(SVD);
26: EXTERN PetscErrorCode SVDCreate_CYCLIC(SVD);
27: EXTERN PetscErrorCode SVDCreate_LAPACK(SVD);
28: EXTERN PetscErrorCode SVDCreate_LANCZOS(SVD);
29: EXTERN PetscErrorCode SVDCreate_TRLANCZOS(SVD);
31:
34: /*@C
35: SVDRegisterAll - Registers all the singular value solvers in the SVD package.
37: Not Collective
39: Level: advanced
41: .seealso: SVDRegisterDynamic()
42: @*/
43: PetscErrorCode SVDRegisterAll(char *path)
44: {
48:
49: SVDRegisterDynamic(SVDCROSS, path,"SVDCreate_CROSS",
50: SVDCreate_CROSS);
51: SVDRegisterDynamic(SVDCYCLIC, path,"SVDCreate_CYCLIC",
52: SVDCreate_CYCLIC);
53: SVDRegisterDynamic(SVDLAPACK, path,"SVDCreate_LAPACK",
54: SVDCreate_LAPACK);
55: SVDRegisterDynamic(SVDLANCZOS, path,"SVDCreate_LANCZOS",
56: SVDCreate_LANCZOS);
57: SVDRegisterDynamic(SVDTRLANCZOS, path,"SVDCreate_TRLANCZOS",
58: SVDCreate_TRLANCZOS);
59:
60: return(0);
61: }