Date: 2013-09-02T10:06:04+00:00

Actual source code: stregis.c

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-2013, Universitat Politecnica de Valencia, Spain

      6:    This file is part of SLEPc.

      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 <slepc-private/stimpl.h>          /*I   "slepcst.h"   I*/

     24: PETSC_EXTERN PetscErrorCode STCreate_Shell(ST);
     25: PETSC_EXTERN PetscErrorCode STCreate_Shift(ST);
     26: PETSC_EXTERN PetscErrorCode STCreate_Sinvert(ST);
     27: PETSC_EXTERN PetscErrorCode STCreate_Cayley(ST);
     28: PETSC_EXTERN PetscErrorCode STCreate_Fold(ST);
     29: PETSC_EXTERN PetscErrorCode STCreate_Precond(ST);

     33: /*@C
     34:    STRegisterAll - Registers all of the spectral transformations in the ST package.

     36:    Not Collective

     38:    Level: advanced

     40: .seealso: STRegister()
     41: @*/
     42: PetscErrorCode STRegisterAll(void)
     43: {

     47:   STRegisterAllCalled = PETSC_TRUE;
     48:   STRegister(STSHELL,STCreate_Shell);
     49:   STRegister(STSHIFT,STCreate_Shift);
     50:   STRegister(STSINVERT,STCreate_Sinvert);
     51:   STRegister(STCAYLEY,STCreate_Cayley);
     52:   STRegister(STFOLD,STCreate_Fold);
     53:   STRegister(STPRECOND,STCreate_Precond);
     54:   return(0);
     55: }