Date: 2022-03-31T15:28:56+00:00

Actual source code: bvregis.c
slepc-3.17.0 2022-03-31
Report Typos and Errors

      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) PetscFunctionReturn(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:   PetscFunctionReturn(0);
     38: }