LCOV - code coverage report
Current view: top level - sys/classes/bv/interface - bvregis.c (source / functions) Hit Total Coverage
Test: SLEPc Lines: 10 10 100.0 %
Date: 2024-11-21 00:34:55 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       3             :    SLEPc - Scalable Library for Eigenvalue Problem Computations
       4             :    Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain
       5             : 
       6             :    This file is part of SLEPc.
       7             :    SLEPc is distributed under a 2-clause BSD license (see LICENSE).
       8             :    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       9             : */
      10             : 
      11             : #include <slepc/private/bvimpl.h>          /*I   "slepcbv.h"   I*/
      12             : 
      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);
      18             : 
      19             : /*@C
      20             :    BVRegisterAll - Registers all of the storage variants in the BV package.
      21             : 
      22             :    Not Collective
      23             : 
      24             :    Level: advanced
      25             : 
      26             : .seealso: BVRegister()
      27             : @*/
      28        3231 : PetscErrorCode BVRegisterAll(void)
      29             : {
      30        3231 :   PetscFunctionBegin;
      31        3231 :   if (BVRegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS);
      32        1334 :   BVRegisterAllCalled = PETSC_TRUE;
      33        1334 :   PetscCall(BVRegister(BVVECS,BVCreate_Vecs));
      34        1334 :   PetscCall(BVRegister(BVCONTIGUOUS,BVCreate_Contiguous));
      35        1334 :   PetscCall(BVRegister(BVSVEC,BVCreate_Svec));
      36        1334 :   PetscCall(BVRegister(BVMAT,BVCreate_Mat));
      37        1334 :   PetscCall(BVRegister(BVTENSOR,BVCreate_Tensor));
      38        1334 :   PetscFunctionReturn(PETSC_SUCCESS);
      39             : }

Generated by: LCOV version 1.14