Date: 2021-02-01T14:41:47+00:00

Actual source code: bvregis.c
slepc-3.14.2 2021-02-01
Report Typos and Errors

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-2020, 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/bvimpl.h>

     13: SLEPC_EXTERN PetscErrorCode BVCreate_Vecs(BV);
     14: SLEPC_EXTERN PetscErrorCode BVCreate_Contiguous(BV);
     15: SLEPC_EXTERN PetscErrorCode BVCreate_Svec(BV);
     16: SLEPC_EXTERN PetscErrorCode BVCreate_Mat(BV);
     17: SLEPC_EXTERN PetscErrorCode BVCreate_Tensor(BV);

     19: /*@C
     20:    BVRegisterAll - Registers all of the storage variants in the BV package.

     22:    Not Collective

     24:    Level: advanced

     26: .seealso: BVRegister()
     27: @*/
     28: PetscErrorCode BVRegisterAll(void)
     29: {

     33:   if (BVRegisterAllCalled) return(0);
     34:   BVRegisterAllCalled = PETSC_TRUE;
     35:   BVRegister(BVVECS,BVCreate_Vecs);
     36:   BVRegister(BVCONTIGUOUS,BVCreate_Contiguous);
     37:   BVRegister(BVSVEC,BVCreate_Svec);
     38:   BVRegister(BVMAT,BVCreate_Mat);
     39:   BVRegister(BVTENSOR,BVCreate_Tensor);
     40:   return(0);
     41: }