Actual source code: stregis.c
1: /*
2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: SLEPc - Scalable Library for Eigenvalue Problem Computations
4: Copyright (c) 2002-2011, Universitat 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> /*I "slepcst.h" I*/
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(const char *path)
48: {
52: STRegisterAllCalled = PETSC_TRUE;
53: STRegisterDynamic(STSHELL ,path,"STCreate_Shell",STCreate_Shell);
54: STRegisterDynamic(STSHIFT ,path,"STCreate_Shift",STCreate_Shift);
55: STRegisterDynamic(STSINVERT,path,"STCreate_Sinvert",STCreate_Sinvert);
56: STRegisterDynamic(STCAYLEY ,path,"STCreate_Cayley",STCreate_Cayley);
57: STRegisterDynamic(STFOLD ,path,"STCreate_Fold",STCreate_Fold);
58: STRegisterDynamic(STPRECOND,path,"STCreate_Precond",STCreate_Precond);
59: return(0);
60: }