Actual source code: stregis.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/st/stimpl.h
14: EXTERN PetscErrorCode STCreate_Shell(ST);
15: EXTERN PetscErrorCode STCreate_Shift(ST);
16: EXTERN PetscErrorCode STCreate_Sinvert(ST);
17: EXTERN PetscErrorCode STCreate_Cayley(ST);
18: EXTERN PetscErrorCode STCreate_Fold(ST);
23: /*@C
24: STRegisterAll - Registers all of the spectral transformations in the ST package.
26: Not Collective
28: Input Parameter:
29: . path - the library where the routines are to be found (optional)
31: Level: advanced
33: .seealso: STRegisterDynamic()
34: @*/
35: PetscErrorCode STRegisterAll(char *path)
36: {
40: STRegisterDynamic(STSHELL ,path,"STCreate_Shell",STCreate_Shell);
41: STRegisterDynamic(STSHIFT ,path,"STCreate_Shift",STCreate_Shift);
42: STRegisterDynamic(STSINV ,path,"STCreate_Sinvert",STCreate_Sinvert);
43: STRegisterDynamic(STCAYLEY ,path,"STCreate_Cayley",STCreate_Cayley);
44: STRegisterDynamic(STFOLD ,path,"STCreate_Fold",STCreate_Fold);
45: return(0);
46: }