Actual source code: svdregis.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/svd/svdimpl.h
14: EXTERN PetscErrorCode SVDCreate_CROSS(SVD);
15: EXTERN PetscErrorCode SVDCreate_CYCLIC(SVD);
16: EXTERN PetscErrorCode SVDCreate_LAPACK(SVD);
17: EXTERN PetscErrorCode SVDCreate_LANCZOS(SVD);
18: EXTERN PetscErrorCode SVDCreate_TRLANCZOS(SVD);
20:
23: /*@C
24: SVDRegisterAll - Registers all the singular value solvers in the SVD package.
26: Not Collective
28: Level: advanced
30: .seealso: SVDRegisterDynamic()
31: @*/
32: PetscErrorCode SVDRegisterAll(char *path)
33: {
37:
38: SVDRegisterDynamic(SVDCROSS, path,"SVDCreate_CROSS",
39: SVDCreate_CROSS);
40: SVDRegisterDynamic(SVDCYCLIC, path,"SVDCreate_CYCLIC",
41: SVDCreate_CYCLIC);
42: SVDRegisterDynamic(SVDLAPACK, path,"SVDCreate_LAPACK",
43: SVDCreate_LAPACK);
44: SVDRegisterDynamic(SVDLANCZOS, path,"SVDCreate_LANCZOS",
45: SVDCreate_LANCZOS);
46: SVDRegisterDynamic(SVDTRLANCZOS, path,"SVDCreate_TRLANCZOS",
47: SVDCreate_TRLANCZOS);
48:
49: return(0);
50: }