Actual source code: lmeregis.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/lmeimpl.h>  /*I "slepclme.h" I*/

 13: SLEPC_EXTERN PetscErrorCode LMECreate_Krylov(LME);

 15: /*@C
 16:   LMERegisterAll - Registers all the matrix functions in the LME package.

 18:   Not Collective

 20:   Level: advanced

 22: .seealso:  LMERegister()
 23: @*/
 24: PetscErrorCode LMERegisterAll(void)
 25: {

 29:   if (LMERegisterAllCalled) return(0);
 30:   LMERegisterAllCalled = PETSC_TRUE;
 31:   LMERegister(LMEKRYLOV,LMECreate_Krylov);
 32:   return(0);
 33: }