Date: 2020-01-13T12:00:54+00:00

Actual source code: svdregis.c
slepc-3.12.2 2020-01-13
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/svdimpl.h>       /*I "slepcsvd.h" I*/

     13: SLEPC_EXTERN PetscErrorCode SVDCreate_Cross(SVD);
     14: SLEPC_EXTERN PetscErrorCode SVDCreate_Cyclic(SVD);
     15: SLEPC_EXTERN PetscErrorCode SVDCreate_LAPACK(SVD);
     16: SLEPC_EXTERN PetscErrorCode SVDCreate_Lanczos(SVD);
     17: SLEPC_EXTERN PetscErrorCode SVDCreate_TRLanczos(SVD);
     18: #if defined(SLEPC_HAVE_PRIMME)
     19: SLEPC_EXTERN PetscErrorCode SVDCreate_PRIMME(SVD);
     20: #endif

     22: /*@C
     23:    SVDRegisterAll - Registers all the singular value solvers in the SVD package.

     25:    Not Collective

     27:    Level: advanced

     29: .seealso:  SVDRegister()
     30: @*/
     31: PetscErrorCode SVDRegisterAll(void)
     32: {

     36:   if (SVDRegisterAllCalled) return(0);
     37:   SVDRegisterAllCalled = PETSC_TRUE;
     38:   SVDRegister(SVDCROSS,SVDCreate_Cross);
     39:   SVDRegister(SVDCYCLIC,SVDCreate_Cyclic);
     40:   SVDRegister(SVDLAPACK,SVDCreate_LAPACK);
     41:   SVDRegister(SVDLANCZOS,SVDCreate_Lanczos);
     42:   SVDRegister(SVDTRLANCZOS,SVDCreate_TRLanczos);
     43: #if defined(SLEPC_HAVE_PRIMME)
     44:   SVDRegister(SVDPRIMME,SVDCreate_PRIMME);
     45: #endif
     46:   return(0);
     47: }