Actual source code: stregis.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/stimpl.h
25: EXTERN PetscErrorCode STCreate_Shell(ST);
26: EXTERN PetscErrorCode STCreate_Shift(ST);
27: EXTERN PetscErrorCode STCreate_Sinvert(ST);
28: EXTERN PetscErrorCode STCreate_Cayley(ST);
29: EXTERN PetscErrorCode STCreate_Fold(ST);
30: EXTERN PetscErrorCode STCreate_Precond(ST);
35: /*@C
36: STRegisterAll - Registers all of the spectral transformations in the ST package.
38: Not Collective
40: Input Parameter:
41: . path - the library where the routines are to be found (optional)
43: Level: advanced
45: .seealso: STRegisterDynamic()
46: @*/
47: PetscErrorCode STRegisterAll(char *path)
48: {
52: STRegisterDynamic(STSHELL ,path,"STCreate_Shell",STCreate_Shell);
53: STRegisterDynamic(STSHIFT ,path,"STCreate_Shift",STCreate_Shift);
54: STRegisterDynamic(STSINVERT,path,"STCreate_Sinvert",STCreate_Sinvert);
55: STRegisterDynamic(STCAYLEY ,path,"STCreate_Cayley",STCreate_Cayley);
56: STRegisterDynamic(STFOLD ,path,"STCreate_Fold",STCreate_Fold);
57: STRegisterDynamic(STPRECOND,path,"STCreate_Precond",STCreate_Precond);
58: return(0);
59: }