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/lmeimpl.h> /*I "slepclme.h" I*/ | ||
12 | |||
13 | SLEPC_EXTERN PetscErrorCode LMECreate_Krylov(LME); | ||
14 | |||
15 | /*@C | ||
16 | LMERegisterAll - Registers all the matrix functions in the LME package. | ||
17 | |||
18 | Not Collective | ||
19 | |||
20 | Level: advanced | ||
21 | |||
22 | .seealso: LMERegister() | ||
23 | @*/ | ||
24 | 237 | PetscErrorCode LMERegisterAll(void) | |
25 | { | ||
26 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
237 | PetscFunctionBegin; |
27 |
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.
|
237 | if (LMERegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS); |
28 | 138 | LMERegisterAllCalled = PETSC_TRUE; | |
29 |
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.
|
138 | PetscCall(LMERegister(LMEKRYLOV,LMECreate_Krylov)); |
30 |
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.
|
20 | PetscFunctionReturn(PETSC_SUCCESS); |
31 | } | ||
32 | |||
33 | /*@C | ||
34 | LMEMonitorRegisterAll - Registers all the monitors in the LME package. | ||
35 | |||
36 | Not Collective | ||
37 | |||
38 | Level: advanced | ||
39 | |||
40 | .seealso: LMEMonitorRegister() | ||
41 | @*/ | ||
42 | 138 | PetscErrorCode LMEMonitorRegisterAll(void) | |
43 | { | ||
44 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
138 | PetscFunctionBegin; |
45 |
2/14✓ Branch 0 taken 8 times.
✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 6 not taken.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✗ Branch 13 not taken.
|
138 | if (LMEMonitorRegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS); |
46 | 138 | LMEMonitorRegisterAllCalled = PETSC_TRUE; | |
47 | |||
48 |
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.
|
138 | PetscCall(LMEMonitorRegister("error_estimate",PETSCVIEWERASCII,PETSC_VIEWER_DEFAULT,LMEMonitorDefault,NULL,NULL)); |
49 |
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.
|
138 | PetscCall(LMEMonitorRegister("error_estimate",PETSCVIEWERDRAW,PETSC_VIEWER_DRAW_LG,LMEMonitorDefaultDrawLG,LMEMonitorDefaultDrawLGCreate,NULL)); |
50 |
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.
|
20 | PetscFunctionReturn(PETSC_SUCCESS); |
51 | } | ||
52 |