Actual source code: bvregis.c
slepc-3.10.1 2018-10-23
Report Typos and Errors

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-2018, 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);
     17: PETSC_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: }