Date: 2016-09-29T11:13:10+00:00

Actual source code: mfnregis.c
slepc-3.7.3 2016-09-29
Report Typos and Errors

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-2016, 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/mfnimpl.h>  /*I "slepcmfn.h" I*/

     24: PETSC_EXTERN PetscErrorCode MFNCreate_Krylov(MFN);
     25: PETSC_EXTERN PetscErrorCode MFNCreate_Expokit(MFN);

     29: /*@C
     30:   MFNRegisterAll - Registers all the matrix functions in the MFN package.

     32:   Not Collective

     34:   Level: advanced

     36: .seealso:  MFNRegister()
     37: @*/
     38: PetscErrorCode MFNRegisterAll(void)
     39: {

     43:   if (MFNRegisterAllCalled) return(0);
     44:   MFNRegisterAllCalled = PETSC_TRUE;
     45:   MFNRegister(MFNKRYLOV,MFNCreate_Krylov);
     46:   MFNRegister(MFNEXPOKIT,MFNCreate_Expokit);
     47:   return(0);
     48: }