Subversion Repositories slepc-dev

Rev

Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1376 slepc 1
/*
2
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3
      SLEPc - Scalable Library for Eigenvalue Problem Computations
4
      Copyright (c) 2002-2007, Universidad Politecnica de Valencia, Spain
6 dsic.upv.es!jroman 5
 
1376 slepc 6
      This file is part of SLEPc. See the README file for conditions of use
7
      and additional information.
8
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9
*/
10
 
6 dsic.upv.es!jroman 11
#include "src/st/stimpl.h"          /*I   "slepcst.h"   I*/
12
 
13
EXTERN_C_BEGIN
476 dsic.upv.es!antodo 14
EXTERN PetscErrorCode STCreate_Shell(ST);
15
EXTERN PetscErrorCode STCreate_Shift(ST);
16
EXTERN PetscErrorCode STCreate_Sinvert(ST);
17
EXTERN PetscErrorCode STCreate_Cayley(ST);
777 dsic.upv.es!antodo 18
EXTERN PetscErrorCode STCreate_Fold(ST);
6 dsic.upv.es!jroman 19
EXTERN_C_END
20
 
21
#undef __FUNCT__  
22
#define __FUNCT__ "STRegisterAll"
23
/*@C
24
   STRegisterAll - Registers all of the spectral transformations in the ST package.
25
 
26
   Not Collective
27
 
28
   Input Parameter:
29
.  path - the library where the routines are to be found (optional)
30
 
31
   Level: advanced
32
 
842 dsic.upv.es!antodo 33
.seealso: STRegisterDynamic()
6 dsic.upv.es!jroman 34
@*/
476 dsic.upv.es!antodo 35
PetscErrorCode STRegisterAll(char *path)
6 dsic.upv.es!jroman 36
{
476 dsic.upv.es!antodo 37
  PetscErrorCode ierr;
6 dsic.upv.es!jroman 38
 
39
  PetscFunctionBegin;
344 dsic.upv.es!antodo 40
  ierr = STRegisterDynamic(STSHELL  ,path,"STCreate_Shell",STCreate_Shell);CHKERRQ(ierr);
41
  ierr = STRegisterDynamic(STSHIFT  ,path,"STCreate_Shift",STCreate_Shift);CHKERRQ(ierr);
42
  ierr = STRegisterDynamic(STSINV   ,path,"STCreate_Sinvert",STCreate_Sinvert);CHKERRQ(ierr);
43
  ierr = STRegisterDynamic(STCAYLEY ,path,"STCreate_Cayley",STCreate_Cayley);CHKERRQ(ierr);
777 dsic.upv.es!antodo 44
  ierr = STRegisterDynamic(STFOLD   ,path,"STCreate_Fold",STCreate_Fold);CHKERRQ(ierr);
6 dsic.upv.es!jroman 45
  PetscFunctionReturn(0);
46
}
47