Date: 2020-01-13T12:00:04+00:00

Actual source code: epsregis.c
slepc-3.12.2 2020-01-13
Report Typos and Errors

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

     13: SLEPC_EXTERN PetscErrorCode EPSCreate_Power(EPS);
     14: SLEPC_EXTERN PetscErrorCode EPSCreate_Subspace(EPS);
     15: SLEPC_EXTERN PetscErrorCode EPSCreate_Arnoldi(EPS);
     16: SLEPC_EXTERN PetscErrorCode EPSCreate_Lanczos(EPS);
     17: SLEPC_EXTERN PetscErrorCode EPSCreate_KrylovSchur(EPS);
     18: #if defined(SLEPC_HAVE_ARPACK)
     19: SLEPC_EXTERN PetscErrorCode EPSCreate_ARPACK(EPS);
     20: #endif
     21: SLEPC_EXTERN PetscErrorCode EPSCreate_LAPACK(EPS);
     22: #if defined(SLEPC_HAVE_BLZPACK)
     23: SLEPC_EXTERN PetscErrorCode EPSCreate_BLZPACK(EPS);
     24: #endif
     25: #if defined(SLEPC_HAVE_TRLAN)
     26: SLEPC_EXTERN PetscErrorCode EPSCreate_TRLAN(EPS);
     27: #endif
     28: #if defined(SLEPC_HAVE_BLOPEX)
     29: SLEPC_EXTERN PetscErrorCode EPSCreate_BLOPEX(EPS);
     30: #endif
     31: #if defined(SLEPC_HAVE_PRIMME)
     32: SLEPC_EXTERN PetscErrorCode EPSCreate_PRIMME(EPS);
     33: #endif
     34: SLEPC_EXTERN PetscErrorCode EPSCreate_GD(EPS);
     35: SLEPC_EXTERN PetscErrorCode EPSCreate_JD(EPS);
     36: SLEPC_EXTERN PetscErrorCode EPSCreate_RQCG(EPS);
     37: SLEPC_EXTERN PetscErrorCode EPSCreate_LOBPCG(EPS);
     38: SLEPC_EXTERN PetscErrorCode EPSCreate_CISS(EPS);

     40: /*@C
     41:   EPSRegisterAll - Registers all the eigenvalue solvers in the EPS package.

     43:   Not Collective

     45:   Level: advanced

     47: .seealso:  EPSRegister()
     48: @*/
     49: PetscErrorCode EPSRegisterAll(void)
     50: {

     54:   if (EPSRegisterAllCalled) return(0);
     55:   EPSRegisterAllCalled = PETSC_TRUE;
     56:   EPSRegister(EPSKRYLOVSCHUR,EPSCreate_KrylovSchur);
     57:   EPSRegister(EPSPOWER,EPSCreate_Power);
     58:   EPSRegister(EPSSUBSPACE,EPSCreate_Subspace);
     59:   EPSRegister(EPSARNOLDI,EPSCreate_Arnoldi);
     60:   EPSRegister(EPSLANCZOS,EPSCreate_Lanczos);
     61:   EPSRegister(EPSGD,EPSCreate_GD);
     62:   EPSRegister(EPSJD,EPSCreate_JD);
     63:   EPSRegister(EPSRQCG,EPSCreate_RQCG);
     64:   EPSRegister(EPSLOBPCG,EPSCreate_LOBPCG);
     65:   EPSRegister(EPSCISS,EPSCreate_CISS);
     66:   EPSRegister(EPSLAPACK,EPSCreate_LAPACK);
     67: #if defined(SLEPC_HAVE_ARPACK)
     68:   EPSRegister(EPSARPACK,EPSCreate_ARPACK);
     69: #endif
     70: #if defined(SLEPC_HAVE_BLZPACK)
     71:   EPSRegister(EPSBLZPACK,EPSCreate_BLZPACK);
     72: #endif
     73: #if defined(SLEPC_HAVE_TRLAN)
     74:   EPSRegister(EPSTRLAN,EPSCreate_TRLAN);
     75: #endif
     76: #if defined(SLEPC_HAVE_BLOPEX)
     77:   EPSRegister(EPSBLOPEX,EPSCreate_BLOPEX);
     78: #endif
     79: #if defined(SLEPC_HAVE_PRIMME)
     80:   EPSRegister(EPSPRIMME,EPSCreate_PRIMME);
     81: #endif
     82:   return(0);
     83: }