Actual source code: pepregis.c

slepc-3.11.2 2019-07-30
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/pepimpl.h>      /*I "slepcpep.h" I*/

 13: SLEPC_EXTERN PetscErrorCode PEPCreate_Linear(PEP);
 14: SLEPC_EXTERN PetscErrorCode PEPCreate_QArnoldi(PEP);
 15: SLEPC_EXTERN PetscErrorCode PEPCreate_TOAR(PEP);
 16: SLEPC_EXTERN PetscErrorCode PEPCreate_STOAR(PEP);
 17: SLEPC_EXTERN PetscErrorCode PEPCreate_JD(PEP);

 19: /*@C
 20:    PEPRegisterAll - Registers all the solvers in the PEP package.

 22:    Not Collective

 24:    Level: advanced

 26: .seealso:  PEPRegister()
 27: @*/
 28: PetscErrorCode PEPRegisterAll(void)
 29: {

 33:   if (PEPRegisterAllCalled) return(0);
 34:   PEPRegisterAllCalled = PETSC_TRUE;
 35:   PEPRegister(PEPLINEAR,PEPCreate_Linear);
 36:   PEPRegister(PEPQARNOLDI,PEPCreate_QArnoldi);
 37:   PEPRegister(PEPTOAR,PEPCreate_TOAR);
 38:   PEPRegister(PEPSTOAR,PEPCreate_STOAR);
 39:   PEPRegister(PEPJD,PEPCreate_JD);
 40:   return(0);
 41: }