LCOV - code coverage report
Current view: top level - sys/classes/rg/interface - rgregis.c (source / functions) Hit Total Coverage
Test: SLEPc Lines: 9 9 100.0 %
Date: 2024-11-23 00:34:26 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/rgimpl.h>      /*I "slepcrg.h" I*/
      12             : 
      13             : SLEPC_EXTERN PetscErrorCode RGCreate_Interval(RG);
      14             : SLEPC_EXTERN PetscErrorCode RGCreate_Ellipse(RG);
      15             : SLEPC_EXTERN PetscErrorCode RGCreate_Ring(RG);
      16             : SLEPC_EXTERN PetscErrorCode RGCreate_Polygon(RG);
      17             : 
      18             : /*@C
      19             :    RGRegisterAll - Registers all of the regions in the RG package.
      20             : 
      21             :    Not Collective
      22             : 
      23             :    Level: advanced
      24             : 
      25             : .seealso: RGRegister()
      26             : @*/
      27        1684 : PetscErrorCode RGRegisterAll(void)
      28             : {
      29        1684 :   PetscFunctionBegin;
      30        1684 :   if (RGRegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS);
      31         786 :   RGRegisterAllCalled = PETSC_TRUE;
      32         786 :   PetscCall(RGRegister(RGINTERVAL,RGCreate_Interval));
      33         786 :   PetscCall(RGRegister(RGELLIPSE,RGCreate_Ellipse));
      34         786 :   PetscCall(RGRegister(RGRING,RGCreate_Ring));
      35         786 :   PetscCall(RGRegister(RGPOLYGON,RGCreate_Polygon));
      36         786 :   PetscFunctionReturn(PETSC_SUCCESS);
      37             : }

Generated by: LCOV version 1.14