Actual source code: pepregis.c

slepc-3.9.2 2018-07-02
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/pepimpl.h>      /*I "slepcpep.h" I*/

 13: PETSC_EXTERN PetscErrorCode PEPCreate_Linear(PEP);
 14: PETSC_EXTERN PetscErrorCode PEPCreate_QArnoldi(PEP);
 15: PETSC_EXTERN PetscErrorCode PEPCreate_TOAR(PEP);
 16: PETSC_EXTERN PetscErrorCode PEPCreate_STOAR(PEP);
 17: #if defined(PETSC_USE_COMPLEX)
 18: PETSC_EXTERN PetscErrorCode PEPCreate_JD(PEP);
 19: #endif

 21: /*@C
 22:    PEPRegisterAll - Registers all the solvers in the PEP package.

 24:    Not Collective

 26:    Level: advanced

 28: .seealso:  PEPRegister()
 29: @*/
 30: PetscErrorCode PEPRegisterAll(void)
 31: {

 35:   if (PEPRegisterAllCalled) return(0);
 36:   PEPRegisterAllCalled = PETSC_TRUE;
 37:   PEPRegister(PEPLINEAR,PEPCreate_Linear);
 38:   PEPRegister(PEPQARNOLDI,PEPCreate_QArnoldi);
 39:   PEPRegister(PEPTOAR,PEPCreate_TOAR);
 40:   PEPRegister(PEPSTOAR,PEPCreate_STOAR);
 41: #if defined(PETSC_USE_COMPLEX)
 42:   PEPRegister(PEPJD,PEPCreate_JD);
 43: #endif
 44:   return(0);
 45: }