Actual source code: mfnregis.c
slepc-3.10.1 2018-10-23
Report Typos and Errors

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

      6:    This file is part of SLEPc.
      7:    SLEPc is distributed under a 2-clause BSD license (see LICENSE).
      8:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      9: */

     11: #include <slepc/private/mfnimpl.h>  /*I "slepcmfn.h" I*/

     13: PETSC_EXTERN PetscErrorCode MFNCreate_Krylov(MFN);
     14: PETSC_EXTERN PetscErrorCode MFNCreate_Expokit(MFN);

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

     19:   Not Collective

     21:   Level: advanced

     23: .seealso:  MFNRegister()
     24: @*/
     25: PetscErrorCode MFNRegisterAll(void)
     26: {

     30:   if (MFNRegisterAllCalled) return(0);
     31:   MFNRegisterAllCalled = PETSC_TRUE;
     32:   MFNRegister(MFNKRYLOV,MFNCreate_Krylov);
     33:   MFNRegister(MFNEXPOKIT,MFNCreate_Expokit);
     34:   return(0);
     35: }