LCOV - code coverage report
Current view: top level - sys/classes/st/interface - stregis.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 11 11 100.0 %
Date: 2019-09-16 06:01:52 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       3             :    SLEPc - Scalable Library for Eigenvalue Problem Computations
       4             :    Copyright (c) 2002-2019, 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        1030 : PetscErrorCode STRegisterAll(void)
      30             : {
      31             :   PetscErrorCode ierr;
      32             : 
      33        1030 :   PetscFunctionBegin;
      34        1030 :   if (STRegisterAllCalled) PetscFunctionReturn(0);
      35         507 :   STRegisterAllCalled = PETSC_TRUE;
      36         507 :   ierr = STRegister(STSHELL,STCreate_Shell);CHKERRQ(ierr);
      37         507 :   ierr = STRegister(STSHIFT,STCreate_Shift);CHKERRQ(ierr);
      38         507 :   ierr = STRegister(STSINVERT,STCreate_Sinvert);CHKERRQ(ierr);
      39         507 :   ierr = STRegister(STCAYLEY,STCreate_Cayley);CHKERRQ(ierr);
      40         507 :   ierr = STRegister(STPRECOND,STCreate_Precond);CHKERRQ(ierr);
      41         507 :   ierr = STRegister(STFILTER,STCreate_Filter);CHKERRQ(ierr);
      42         507 :   PetscFunctionReturn(0);
      43             : }
      44             : 

Generated by: LCOV version 1.13