Date: 2021-02-01T14:42:19+00:00

Actual source code: mfnregis.c
slepc-3.14.2 2021-02-01
Report Typos and Errors

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-2020, 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>

     13: SLEPC_EXTERN PetscErrorCode MFNCreate_Krylov(MFN);
     14: SLEPC_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: }