| 1376 |
slepc |
1 |
/*
|
|
|
2 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
| 1672 |
slepc |
3 |
SLEPc - Scalable Library for Eigenvalue Problem Computations
|
| 2575 |
eromero |
4 |
Copyright (c) 2002-2011, Universitat Politecnica de Valencia, Spain
|
| 6 |
dsic.upv.es!jroman |
5 |
|
| 1672 |
slepc |
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.
|
|
|
11 |
|
|
|
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.
|
|
|
16 |
|
|
|
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/>.
|
| 1376 |
slepc |
19 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
20 |
*/
|
|
|
21 |
|
| 2729 |
jroman |
22 |
#include <slepc-private/stimpl.h> /*I "slepcst.h" I*/
|
| 6 |
dsic.upv.es!jroman |
23 |
|
|
|
24 |
EXTERN_C_BEGIN
|
| 2240 |
jroman |
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);
|
| 6 |
dsic.upv.es!jroman |
31 |
EXTERN_C_END
|
|
|
32 |
|
|
|
33 |
#undef __FUNCT__
|
|
|
34 |
#define __FUNCT__ "STRegisterAll"
|
|
|
35 |
/*@C
|
|
|
36 |
STRegisterAll - Registers all of the spectral transformations in the ST package.
|
|
|
37 |
|
|
|
38 |
Not Collective
|
|
|
39 |
|
|
|
40 |
Input Parameter:
|
|
|
41 |
. path - the library where the routines are to be found (optional)
|
|
|
42 |
|
|
|
43 |
Level: advanced
|
|
|
44 |
|
| 842 |
dsic.upv.es!antodo |
45 |
.seealso: STRegisterDynamic()
|
| 6 |
dsic.upv.es!jroman |
46 |
@*/
|
| 2212 |
jroman |
47 |
PetscErrorCode STRegisterAll(const char *path)
|
| 6 |
dsic.upv.es!jroman |
48 |
{
|
| 476 |
dsic.upv.es!antodo |
49 |
PetscErrorCode ierr;
|
| 6 |
dsic.upv.es!jroman |
50 |
|
|
|
51 |
PetscFunctionBegin;
|
| 2376 |
jroman |
52 |
STRegisterAllCalled = PETSC_TRUE;
|
| 344 |
dsic.upv.es!antodo |
53 |
ierr = STRegisterDynamic(STSHELL ,path,"STCreate_Shell",STCreate_Shell);CHKERRQ(ierr);
|
|
|
54 |
ierr = STRegisterDynamic(STSHIFT ,path,"STCreate_Shift",STCreate_Shift);CHKERRQ(ierr);
|
| 2092 |
jroman |
55 |
ierr = STRegisterDynamic(STSINVERT,path,"STCreate_Sinvert",STCreate_Sinvert);CHKERRQ(ierr);
|
| 344 |
dsic.upv.es!antodo |
56 |
ierr = STRegisterDynamic(STCAYLEY ,path,"STCreate_Cayley",STCreate_Cayley);CHKERRQ(ierr);
|
| 777 |
dsic.upv.es!antodo |
57 |
ierr = STRegisterDynamic(STFOLD ,path,"STCreate_Fold",STCreate_Fold);CHKERRQ(ierr);
|
| 1996 |
eromero |
58 |
ierr = STRegisterDynamic(STPRECOND,path,"STCreate_Precond",STCreate_Precond);CHKERRQ(ierr);
|
| 6 |
dsic.upv.es!jroman |
59 |
PetscFunctionReturn(0);
|
|
|
60 |
}
|
|
|
61 |
|