Actual source code: pepregis.c

slepc-3.7.2 2016-07-19
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/pepimpl.h>      /*I "slepcpep.h" I*/

 24: PETSC_EXTERN PetscErrorCode PEPCreate_Linear(PEP);
 25: PETSC_EXTERN PetscErrorCode PEPCreate_QArnoldi(PEP);
 26: PETSC_EXTERN PetscErrorCode PEPCreate_TOAR(PEP);
 27: PETSC_EXTERN PetscErrorCode PEPCreate_STOAR(PEP);
 28: PETSC_EXTERN PetscErrorCode PEPCreate_JD(PEP);

 32: /*@C
 33:    PEPRegisterAll - Registers all the solvers in the PEP package.

 35:    Not Collective

 37:    Level: advanced

 39: .seealso:  PEPRegister()
 40: @*/
 41: PetscErrorCode PEPRegisterAll(void)
 42: {

 46:   if (PEPRegisterAllCalled) return(0);
 47:   PEPRegisterAllCalled = PETSC_TRUE;
 48:   PEPRegister(PEPLINEAR,PEPCreate_Linear);
 49:   PEPRegister(PEPQARNOLDI,PEPCreate_QArnoldi);
 50:   PEPRegister(PEPTOAR,PEPCreate_TOAR);
 51:   PEPRegister(PEPSTOAR,PEPCreate_STOAR);
 52:   PEPRegister(PEPJD,PEPCreate_JD);
 53:   return(0);
 54: }