Line data Source code
1 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3 : !!!! !!!!
4 : !!!! ParaMonte: Parallel Monte Carlo and Machine Learning Library. !!!!
5 : !!!! !!!!
6 : !!!! Copyright (C) 2012-present, The Computational Data Science Lab !!!!
7 : !!!! !!!!
8 : !!!! This file is part of the ParaMonte library. !!!!
9 : !!!! !!!!
10 : !!!! LICENSE !!!!
11 : !!!! !!!!
12 : !!!! https://github.com/cdslaborg/paramonte/blob/main/LICENSE.md !!!!
13 : !!!! !!!!
14 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16 :
17 : !> \brief This file contains the implementations of the tests of module [pm_matrixMulTri](@ref pm_matrixMulTri).
18 : !>
19 : !> \fintest
20 : !>
21 : !> \author
22 : !> \FatemehBagheri, 12:27 AM Tuesday, February 22, 2022, Dallas, TX
23 :
24 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25 :
26 : submodule (test_pm_matrixMulTri) routines
27 :
28 : use pm_kind, only: RKB
29 : use pm_option, only: getOption
30 : use pm_io, only: display_type
31 : use pm_mathCompare, only: isClose
32 : use pm_arrayChoice, only: getChoice
33 : use pm_distUnif, only: getUnifRand, setUnifRand
34 :
35 : implicit none
36 :
37 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
38 :
39 : contains
40 :
41 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42 :
43 : #define setMatMulTri_ENABLED 1
44 :
45 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
46 :
47 : #define CK_ENABLED 1
48 :
49 : #if CK5_ENABLED
50 : module procedure test_setMatMulTri_CK5
51 : use pm_kind, only: TKC => CK5
52 : #include "test_pm_matrixMulTri@routines.inc.F90"
53 : end procedure
54 : #endif
55 :
56 : #if CK4_ENABLED
57 1 : module procedure test_setMatMulTri_CK4
58 : use pm_kind, only: TKC => CK4
59 : #include "test_pm_matrixMulTri@routines.inc.F90"
60 : end procedure
61 : #endif
62 :
63 : #if CK3_ENABLED
64 1 : module procedure test_setMatMulTri_CK3
65 : use pm_kind, only: TKC => CK3
66 : #include "test_pm_matrixMulTri@routines.inc.F90"
67 : end procedure
68 : #endif
69 :
70 : #if CK2_ENABLED
71 1 : module procedure test_setMatMulTri_CK2
72 : use pm_kind, only: TKC => CK2
73 : #include "test_pm_matrixMulTri@routines.inc.F90"
74 : end procedure
75 : #endif
76 :
77 : #if CK1_ENABLED
78 1 : module procedure test_setMatMulTri_CK1
79 : use pm_kind, only: TKC => CK1
80 : #include "test_pm_matrixMulTri@routines.inc.F90"
81 : end procedure
82 : #endif
83 :
84 : #undef CK_ENABLED
85 :
86 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
87 :
88 : #define RK_ENABLED 1
89 :
90 : #if RK5_ENABLED
91 : module procedure test_setMatMulTri_RK5
92 : use pm_kind, only: TKC => RK5
93 : #include "test_pm_matrixMulTri@routines.inc.F90"
94 : end procedure
95 : #endif
96 :
97 : #if RK4_ENABLED
98 1 : module procedure test_setMatMulTri_RK4
99 : use pm_kind, only: TKC => RK4
100 : #include "test_pm_matrixMulTri@routines.inc.F90"
101 : end procedure
102 : #endif
103 :
104 : #if RK3_ENABLED
105 1 : module procedure test_setMatMulTri_RK3
106 : use pm_kind, only: TKC => RK3
107 : #include "test_pm_matrixMulTri@routines.inc.F90"
108 : end procedure
109 : #endif
110 :
111 : #if RK2_ENABLED
112 1 : module procedure test_setMatMulTri_RK2
113 : use pm_kind, only: TKC => RK2
114 : #include "test_pm_matrixMulTri@routines.inc.F90"
115 : end procedure
116 : #endif
117 :
118 : #if RK1_ENABLED
119 1 : module procedure test_setMatMulTri_RK1
120 : use pm_kind, only: TKC => RK1
121 : #include "test_pm_matrixMulTri@routines.inc.F90"
122 : end procedure
123 : #endif
124 :
125 : #undef RK_ENABLED
126 :
127 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
128 :
129 : #undef setMatMulTri_ENABLED
130 :
131 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
132 :
133 : end submodule routines ! LCOV_EXCL_LINE
|