Date: 2018-10-23T10:32:32+00:00

Actual source code: nepregis.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/nepimpl.h>      /*I "slepcnep.h" I*/

     13: PETSC_EXTERN PetscErrorCode NEPCreate_RII(NEP);
     14: PETSC_EXTERN PetscErrorCode NEPCreate_SLP(NEP);
     15: PETSC_EXTERN PetscErrorCode NEPCreate_NArnoldi(NEP);
     16: PETSC_EXTERN PetscErrorCode NEPCreate_Interpol(NEP);
     17: #if defined(PETSC_USE_COMPLEX)
     18: PETSC_EXTERN PetscErrorCode NEPCreate_CISS(NEP);
     19: #endif
     20: PETSC_EXTERN PetscErrorCode NEPCreate_NLEIGS(NEP);

     22: /*@C
     23:    NEPRegisterAll - Registers all the solvers in the NEP package.

     25:    Not Collective

     27:    Level: advanced

     29: .seealso:  NEPRegister()
     30: @*/
     31: PetscErrorCode NEPRegisterAll(void)
     32: {

     36:   if (NEPRegisterAllCalled) return(0);
     37:   NEPRegisterAllCalled = PETSC_TRUE;
     38:   NEPRegister(NEPRII,NEPCreate_RII);
     39:   NEPRegister(NEPSLP,NEPCreate_SLP);
     40:   NEPRegister(NEPNARNOLDI,NEPCreate_NArnoldi);
     41:   NEPRegister(NEPINTERPOL,NEPCreate_Interpol);
     42: #if defined(PETSC_USE_COMPLEX)
     43:   NEPRegister(NEPCISS,NEPCreate_CISS);
     44: #endif
     45:   NEPRegister(NEPNLEIGS,NEPCreate_NLEIGS);
     46:   return(0);
     47: }