LCOV - code coverage report
Current view: top level - sys - dlregisslepc.c (source / functions) Hit Total Coverage
Test: SLEPc Lines: 14 14 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 <slepcst.h>
      12             : #include <slepcds.h>
      13             : #include <slepcfn.h>
      14             : #include <slepcbv.h>
      15             : #include <slepcrg.h>
      16             : 
      17             : #if defined(PETSC_HAVE_DYNAMIC_LIBRARIES)
      18             : 
      19             : #if defined(PETSC_USE_SINGLE_LIBRARY)
      20             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepceps(void);
      21             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcnep(void);
      22             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcpep(void);
      23             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcsvd(void);
      24             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcmfn(void);
      25             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepclme(void);
      26             : #endif
      27             : 
      28             : /*
      29             :   PetscDLLibraryRegister - This function is called when the dynamic library
      30             :   it is in is opened.
      31             : 
      32             :   This one registers all the basic objects ST, FN, DS, BV, RG.
      33             :  */
      34             : #if defined(PETSC_USE_SINGLE_LIBRARY)
      35           1 : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepc(void)
      36             : #else
      37             : SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcsys(void)
      38             : #endif
      39             : {
      40           1 :   PetscFunctionBegin;
      41           1 :   PetscCall(STInitializePackage());
      42           1 :   PetscCall(DSInitializePackage());
      43           1 :   PetscCall(FNInitializePackage());
      44           1 :   PetscCall(BVInitializePackage());
      45           1 :   PetscCall(RGInitializePackage());
      46             : 
      47             : #if defined(PETSC_USE_SINGLE_LIBRARY)
      48           1 :   PetscCall(PetscDLLibraryRegister_slepceps());
      49           1 :   PetscCall(PetscDLLibraryRegister_slepcnep());
      50           1 :   PetscCall(PetscDLLibraryRegister_slepcpep());
      51           1 :   PetscCall(PetscDLLibraryRegister_slepcsvd());
      52           1 :   PetscCall(PetscDLLibraryRegister_slepcmfn());
      53           1 :   PetscCall(PetscDLLibraryRegister_slepclme());
      54             : #endif
      55           1 :   PetscFunctionReturn(PETSC_SUCCESS);
      56             : }
      57             : #endif /* PETSC_HAVE_DYNAMIC_LIBRARIES */

Generated by: LCOV version 1.14