LCOV - code coverage report
Current view: top level - sys/classes/st/interface - stregis.c (source / functions) Hit Total Coverage
Test: SLEPc Lines: 11 11 100.0 %
Date: 2024-04-23 00:41:17 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/stimpl.h>          /*I   "slepcst.h"   I*/
      12             : 
      13             : SLEPC_EXTERN PetscErrorCode STCreate_Shell(ST);
      14             : SLEPC_EXTERN PetscErrorCode STCreate_Shift(ST);
      15             : SLEPC_EXTERN PetscErrorCode STCreate_Sinvert(ST);
      16             : SLEPC_EXTERN PetscErrorCode STCreate_Cayley(ST);
      17             : SLEPC_EXTERN PetscErrorCode STCreate_Precond(ST);
      18             : SLEPC_EXTERN PetscErrorCode STCreate_Filter(ST);
      19             : 
      20             : /*@C
      21             :    STRegisterAll - Registers all of the spectral transformations in the ST package.
      22             : 
      23             :    Not Collective
      24             : 
      25             :    Level: advanced
      26             : 
      27             : .seealso: STRegister()
      28             : @*/
      29        1501 : PetscErrorCode STRegisterAll(void)
      30             : {
      31        1501 :   PetscFunctionBegin;
      32        1501 :   if (STRegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS);
      33         723 :   STRegisterAllCalled = PETSC_TRUE;
      34         723 :   PetscCall(STRegister(STSHELL,STCreate_Shell));
      35         723 :   PetscCall(STRegister(STSHIFT,STCreate_Shift));
      36         723 :   PetscCall(STRegister(STSINVERT,STCreate_Sinvert));
      37         723 :   PetscCall(STRegister(STCAYLEY,STCreate_Cayley));
      38         723 :   PetscCall(STRegister(STPRECOND,STCreate_Precond));
      39         723 :   PetscCall(STRegister(STFILTER,STCreate_Filter));
      40         723 :   PetscFunctionReturn(PETSC_SUCCESS);
      41             : }

Generated by: LCOV version 1.14