1: /* 2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3: SLEPc - Scalable Library for Eigenvalue Problem Computations 4: Copyright (c) 2002-, 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: { 30: if (BVRegisterAllCalled) return 0; 31: BVRegisterAllCalled = PETSC_TRUE; 32: BVRegister(BVVECS,BVCreate_Vecs); 33: BVRegister(BVCONTIGUOUS,BVCreate_Contiguous); 34: BVRegister(BVSVEC,BVCreate_Svec); 35: BVRegister(BVMAT,BVCreate_Mat); 36: BVRegister(BVTENSOR,BVCreate_Tensor); 37: return 0; 38: }