| Line | Branch | Exec | Source |
|---|---|---|---|
| 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: [](sec:rg), `RGRegister()` | ||
| 26 | @*/ | ||
| 27 | 19027 | PetscErrorCode RGRegisterAll(void) | |
| 28 | { | ||
| 29 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
19027 | PetscFunctionBegin; |
| 30 |
8/14✓ Branch 0 taken 10 times.
✓ Branch 1 taken 10 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
✓ Branch 6 taken 2 times.
✗ Branch 7 not taken.
✓ Branch 8 taken 2 times.
✗ Branch 9 not taken.
✓ Branch 10 taken 2 times.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✓ Branch 13 taken 2 times.
|
19027 | if (RGRegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS); |
| 31 | 8712 | RGRegisterAllCalled = PETSC_TRUE; | |
| 32 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 8 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
8712 | PetscCall(RGRegister(RGINTERVAL,RGCreate_Interval)); |
| 33 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 8 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
8712 | PetscCall(RGRegister(RGELLIPSE,RGCreate_Ellipse)); |
| 34 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 8 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
8712 | PetscCall(RGRegister(RGRING,RGCreate_Ring)); |
| 35 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 8 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
8712 | PetscCall(RGRegister(RGPOLYGON,RGCreate_Polygon)); |
| 36 |
6/12✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 2 times.
✗ Branch 5 not taken.
✓ Branch 6 taken 2 times.
✗ Branch 7 not taken.
✓ Branch 8 taken 2 times.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✓ Branch 11 taken 2 times.
|
1704 | PetscFunctionReturn(PETSC_SUCCESS); |
| 37 | } | ||
| 38 |