Actual source code: bvregis.c
slepc-3.8.2 2017-12-01
1: /*
2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: SLEPc - Scalable Library for Eigenvalue Problem Computations
4: Copyright (c) 2002-2017, 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> /*I "slepcbv.h" I*/
13: PETSC_EXTERN PetscErrorCode BVCreate_Vecs(BV);
14: PETSC_EXTERN PetscErrorCode BVCreate_Contiguous(BV);
15: PETSC_EXTERN PetscErrorCode BVCreate_Svec(BV);
16: PETSC_EXTERN PetscErrorCode BVCreate_Mat(BV);
18: /*@C
19: BVRegisterAll - Registers all of the storage variants in the BV package.
21: Not Collective
23: Level: advanced
25: .seealso: BVRegister()
26: @*/
27: PetscErrorCode BVRegisterAll(void)
28: {
32: if (BVRegisterAllCalled) return(0);
33: BVRegisterAllCalled = PETSC_TRUE;
34: BVRegister(BVVECS,BVCreate_Vecs);
35: BVRegister(BVCONTIGUOUS,BVCreate_Contiguous);
36: BVRegister(BVSVEC,BVCreate_Svec);
37: BVRegister(BVMAT,BVCreate_Mat);
38: return(0);
39: }