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 <slepcst.h> | ||
12 | #include <slepcds.h> | ||
13 | #include <slepcfn.h> | ||
14 | #include <slepcbv.h> | ||
15 | #include <slepcrg.h> | ||
16 | |||
17 | #if defined(PETSC_HAVE_DYNAMIC_LIBRARIES) | ||
18 | |||
19 | #if defined(PETSC_USE_SINGLE_LIBRARY) | ||
20 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepceps(void); | ||
21 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcnep(void); | ||
22 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcpep(void); | ||
23 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcsvd(void); | ||
24 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcmfn(void); | ||
25 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepclme(void); | ||
26 | #endif | ||
27 | |||
28 | /* | ||
29 | PetscDLLibraryRegister - This function is called when the dynamic library | ||
30 | it is in is opened. | ||
31 | |||
32 | This one registers all the basic objects ST, FN, DS, BV, RG. | ||
33 | */ | ||
34 | #if defined(PETSC_USE_SINGLE_LIBRARY) | ||
35 | 9 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepc(void) | |
36 | #else | ||
37 | 1 | SLEPC_EXTERN PetscErrorCode PetscDLLibraryRegister_slepcsys(void) | |
38 | #endif | ||
39 | { | ||
40 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
10 | PetscFunctionBegin; |
41 |
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.
|
10 | PetscCall(STInitializePackage()); |
42 |
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.
|
10 | PetscCall(DSInitializePackage()); |
43 |
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.
|
10 | PetscCall(FNInitializePackage()); |
44 |
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.
|
10 | PetscCall(BVInitializePackage()); |
45 |
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.
|
10 | PetscCall(RGInitializePackage()); |
46 | |||
47 | #if defined(PETSC_USE_SINGLE_LIBRARY) | ||
48 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 7 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
9 | PetscCall(PetscDLLibraryRegister_slepceps()); |
49 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 7 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
9 | PetscCall(PetscDLLibraryRegister_slepcnep()); |
50 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 7 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
9 | PetscCall(PetscDLLibraryRegister_slepcpep()); |
51 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 7 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
9 | PetscCall(PetscDLLibraryRegister_slepcsvd()); |
52 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 7 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
9 | PetscCall(PetscDLLibraryRegister_slepcmfn()); |
53 |
4/6✓ Branch 0 taken 2 times.
✓ Branch 1 taken 7 times.
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✓ Branch 5 taken 2 times.
|
9 | PetscCall(PetscDLLibraryRegister_slepclme()); |
54 | #endif | ||
55 |
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.
|
2 | PetscFunctionReturn(PETSC_SUCCESS); |
56 | } | ||
57 | #endif /* PETSC_HAVE_DYNAMIC_LIBRARIES */ | ||
58 |