Date: 2016-09-29T11:12:51+00:00

Actual source code: nepregis.c
slepc-3.7.3 2016-09-29
Report Typos and Errors

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

      6:    This file is part of SLEPc.

      8:    SLEPc is free software: you can redistribute it and/or modify it under  the
      9:    terms of version 3 of the GNU Lesser General Public License as published by
     10:    the Free Software Foundation.

     12:    SLEPc  is  distributed in the hope that it will be useful, but WITHOUT  ANY
     13:    WARRANTY;  without even the implied warranty of MERCHANTABILITY or  FITNESS
     14:    FOR  A  PARTICULAR PURPOSE. See the GNU Lesser General Public  License  for
     15:    more details.

     17:    You  should have received a copy of the GNU Lesser General  Public  License
     18:    along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
     19:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     20: */

     22: #include <slepc/private/nepimpl.h>      /*I "slepcnep.h" I*/

     24: PETSC_EXTERN PetscErrorCode NEPCreate_RII(NEP);
     25: PETSC_EXTERN PetscErrorCode NEPCreate_SLP(NEP);
     26: PETSC_EXTERN PetscErrorCode NEPCreate_NArnoldi(NEP);
     27: PETSC_EXTERN PetscErrorCode NEPCreate_CISS(NEP);
     28: PETSC_EXTERN PetscErrorCode NEPCreate_Interpol(NEP);
     29: PETSC_EXTERN PetscErrorCode NEPCreate_NLEIGS(NEP);

     33: /*@C
     34:    NEPRegisterAll - Registers all the solvers in the NEP package.

     36:    Not Collective

     38:    Level: advanced

     40: .seealso:  NEPRegister()
     41: @*/
     42: PetscErrorCode NEPRegisterAll(void)
     43: {

     47:   if (NEPRegisterAllCalled) return(0);
     48:   NEPRegisterAllCalled = PETSC_TRUE;
     49:   NEPRegister(NEPRII,NEPCreate_RII);
     50:   NEPRegister(NEPSLP,NEPCreate_SLP);
     51:   NEPRegister(NEPNARNOLDI,NEPCreate_NArnoldi);
     52:   NEPRegister(NEPINTERPOL,NEPCreate_Interpol);
     53: #if defined(PETSC_USE_COMPLEX)
     54:   NEPRegister(NEPCISS,NEPCreate_CISS);
     55: #endif
     56:   NEPRegister(NEPNLEIGS,NEPCreate_NLEIGS);
     57:   return(0);
     58: }