Date: 2021-02-01T14:41:54+00:00

Actual source code: epsregis.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/epsimpl.h>

     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: SLEPC_EXTERN PetscErrorCode EPSCreate_GD(EPS);
     19: SLEPC_EXTERN PetscErrorCode EPSCreate_JD(EPS);
     20: SLEPC_EXTERN PetscErrorCode EPSCreate_RQCG(EPS);
     21: SLEPC_EXTERN PetscErrorCode EPSCreate_LOBPCG(EPS);
     22: SLEPC_EXTERN PetscErrorCode EPSCreate_CISS(EPS);
     23: SLEPC_EXTERN PetscErrorCode EPSCreate_LyapII(EPS);
     24: SLEPC_EXTERN PetscErrorCode EPSCreate_LAPACK(EPS);
     25: #if defined(SLEPC_HAVE_ARPACK)
     26: SLEPC_EXTERN PetscErrorCode EPSCreate_ARPACK(EPS);
     27: #endif
     28: #if defined(SLEPC_HAVE_BLZPACK)
     29: SLEPC_EXTERN PetscErrorCode EPSCreate_BLZPACK(EPS);
     30: #endif
     31: #if defined(SLEPC_HAVE_TRLAN)
     32: SLEPC_EXTERN PetscErrorCode EPSCreate_TRLAN(EPS);
     33: #endif
     34: #if defined(SLEPC_HAVE_BLOPEX)
     35: SLEPC_EXTERN PetscErrorCode EPSCreate_BLOPEX(EPS);
     36: #endif
     37: #if defined(SLEPC_HAVE_PRIMME)
     38: SLEPC_EXTERN PetscErrorCode EPSCreate_PRIMME(EPS);
     39: #endif
     40: #if defined(SLEPC_HAVE_FEAST)
     41: SLEPC_EXTERN PetscErrorCode EPSCreate_FEAST(EPS);
     42: #endif
     43: #if defined(SLEPC_HAVE_SCALAPACK)
     44: SLEPC_EXTERN PetscErrorCode EPSCreate_ScaLAPACK(EPS);
     45: #endif
     46: #if defined(SLEPC_HAVE_ELPA)
     47: SLEPC_EXTERN PetscErrorCode EPSCreate_ELPA(EPS);
     48: #endif
     49: #if defined(SLEPC_HAVE_ELEMENTAL)
     50: SLEPC_EXTERN PetscErrorCode EPSCreate_Elemental(EPS);
     51: #endif

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

     56:   Not Collective

     58:   Level: advanced

     60: .seealso:  EPSRegister()
     61: @*/
     62: PetscErrorCode EPSRegisterAll(void)
     63: {

     67:   if (EPSRegisterAllCalled) return(0);
     68:   EPSRegisterAllCalled = PETSC_TRUE;
     69:   EPSRegister(EPSPOWER,EPSCreate_Power);
     70:   EPSRegister(EPSSUBSPACE,EPSCreate_Subspace);
     71:   EPSRegister(EPSARNOLDI,EPSCreate_Arnoldi);
     72:   EPSRegister(EPSLANCZOS,EPSCreate_Lanczos);
     73:   EPSRegister(EPSKRYLOVSCHUR,EPSCreate_KrylovSchur);
     74:   EPSRegister(EPSGD,EPSCreate_GD);
     75:   EPSRegister(EPSJD,EPSCreate_JD);
     76:   EPSRegister(EPSRQCG,EPSCreate_RQCG);
     77:   EPSRegister(EPSLOBPCG,EPSCreate_LOBPCG);
     78:   EPSRegister(EPSCISS,EPSCreate_CISS);
     79:   EPSRegister(EPSLYAPII,EPSCreate_LyapII);
     80:   EPSRegister(EPSLAPACK,EPSCreate_LAPACK);
     81: #if defined(SLEPC_HAVE_ARPACK)
     82:   EPSRegister(EPSARPACK,EPSCreate_ARPACK);
     83: #endif
     84: #if defined(SLEPC_HAVE_BLZPACK)
     85:   EPSRegister(EPSBLZPACK,EPSCreate_BLZPACK);
     86: #endif
     87: #if defined(SLEPC_HAVE_TRLAN)
     88:   EPSRegister(EPSTRLAN,EPSCreate_TRLAN);
     89: #endif
     90: #if defined(SLEPC_HAVE_BLOPEX)
     91:   EPSRegister(EPSBLOPEX,EPSCreate_BLOPEX);
     92: #endif
     93: #if defined(SLEPC_HAVE_PRIMME)
     94:   EPSRegister(EPSPRIMME,EPSCreate_PRIMME);
     95: #endif
     96: #if defined(SLEPC_HAVE_FEAST)
     97:   EPSRegister(EPSFEAST,EPSCreate_FEAST);
     98: #endif
     99: #if defined(SLEPC_HAVE_SCALAPACK)
    100:   EPSRegister(EPSSCALAPACK,EPSCreate_ScaLAPACK);
    101: #endif
    102: #if defined(SLEPC_HAVE_ELPA)
    103:   EPSRegister(EPSELPA,EPSCreate_ELPA);
    104: #endif
    105: #if defined(SLEPC_HAVE_ELEMENTAL)
    106:   EPSRegister(EPSELEMENTAL,EPSCreate_Elemental);
    107: #endif
    108:   return(0);
    109: }