v0.14.0
test_T3dg.cpp
Go to the documentation of this file.
1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
3 #include <iostream>
4 using namespace FTensor;
5 using namespace std;
6 
7 void test_T3dg_01(Tensor1<double, 3> &t1_1, const Dg<double, 3, 3> &t3dg_2);
9  const Tensor2_symmetric<double, 3> &t2s_2,
10  const Tensor2_symmetric<double, 3> &t2s_3,
11  Dg<double, 3, 3> &t3dg_1);
13  const Dg<double, 3, 3> &t3dg_2);
14 void test_T3dg_04(Tensor2<double, 3, 3> &t2_1, const Dg<double, 3, 3> &t3dg_2);
15 void test_T3dg_05(Tensor2<double, 3, 3> &t2_1, const Dg<double, 3, 3> &t3dg_2);
17  const Dg<double, 3, 3> &t3dg_2);
18 void test_T3dg_07(Tensor2<double, 3, 3> &t2_1, const Dg<double, 3, 3> &t3dg_2);
19 void test_T3dg_08(Tensor2<double, 3, 3> &t2_1, const Dg<double, 3, 3> &t3dg_2);
20 void test_T3dg_09(const Tensor1<double, 3> &t1_2,
21  const Tensor2_symmetric<double, 3> &t2s_2,
22  Dg<double, 3, 3> &t3dg_1);
23 void test_T3dg_10(Dg<double, 3, 3> &t3dg_1);
24 void test_T3dg_11(Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
25  const Dg<double, 3, 3> &t3dg_3);
26 void test_T3dg_12(Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
27  const Dg<double, 3, 3> &t3dg_3);
28 void test_T3dg_13(Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
29  const Dg<double, 3, 3> &t3dg_3);
30 void test_T3dg_14(Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2);
31 void test_T3dg_15(const Tensor1<double, 3> &t1_2, Dg<double, 3, 3> &t3dg_1,
32  const Dg<double, 3, 3> &t3dg_2,
33  const Dg<double, 3, 3> &t3dg_3);
34 void test_T3dg_16(Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2);
35 void test_T3dg_17(const Tensor1<double, 3> &t1_2,
37  const Dg<double, 3, 3> &t3dg_2,
38  const Dg<double, 3, 3> &t3dg_3);
40  const Dg<double, 3, 3> &t3dg_2,
41  const Dg<double, 3, 3> &t3dg_3);
43  const Dg<double, 3, 3> &t3dg_2,
44  const Dg<double, 3, 3> &t3dg_3);
45 void test_T3dg_20(const Tensor2<double, 3, 3> &t2_2, Dg<double, 3, 3> &t3dg_1,
46  const Dg<double, 3, 3> &t3dg_2,
47  const Dg<double, 3, 3> &t3dg_3);
48 void test_T3dg_21(const Tensor2<double, 3, 3> &t2_2, Dg<double, 3, 3> &t3dg_1,
49  const Dg<double, 3, 3> &t3dg_2,
50  const Dg<double, 3, 3> &t3dg_3);
52  const Dg<double, 3, 3> &t3dg_2);
54  const Dg<double, 3, 3> &t3dg_2);
56  const Dg<double, 3, 3> &t3dg_2);
58  const Dg<double, 3, 3> &t3dg_2);
60  const Dg<double, 3, 3> &t3dg_2);
62  const Dg<double, 3, 3> &t3dg_2);
64  Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
65  const Dg<double, 3, 3> &t3dg_3);
67  Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
68  const Dg<double, 3, 3> &t3dg_3);
70  const Tensor2_symmetric<double, 3> &t2s_2,
71  const Dg<double, 3, 3> &t3dg_2);
73  const Tensor2_symmetric<double, 3> &t2s_2,
74  const Dg<double, 3, 3> &t3dg_2);
76  const Tensor2_symmetric<double, 3> &t2s_2,
77  const Dg<double, 3, 3> &t3dg_2);
79  const Tensor2_symmetric<double, 3> &t2s_2,
80  const Dg<double, 3, 3> &t3dg_2);
82  const Tensor2_symmetric<double, 3> &t2s_2,
83  const Dg<double, 3, 3> &t3dg_2);
85  const Tensor2_symmetric<double, 3> &t2s_2,
86  const Dg<double, 3, 3> &t3dg_2);
88  const Tensor2_symmetric<double, 3> &t2s_2,
89  Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
90  const Dg<double, 3, 3> &t3dg_3);
91 void test_T3dg_37(const Tensor2<double, 3, 3> &t2_2,
92  const Tensor2_symmetric<double, 3> &t2s_2,
93  const Dg<double, 3, 3> &t3dg_2,
94  const Dg<double, 3, 3> &t3dg_3);
95 void test_T3dg_038(const Dg<double, 3, 3> &t3dg_2,
96  const Dg<double, 3, 3> &t3dg_3);
97 
101  const Tensor2_symmetric<double, 3> &t2s_2,
102  const Tensor2_symmetric<double, 3> &t2s_3,
103  Dg<double, 3, 3> &t3dg_1, const Dg<double, 3, 3> &t3dg_2,
104  const Dg<double, 3, 3> &t3dg_3)
105 {
106  test_T3dg_01(t1_1, t3dg_2);
107  test_T3dg_02(t2s_1, t2s_2, t2s_3, t3dg_1);
108  test_T3dg_03(t2s_1, t3dg_2);
109  test_T3dg_04(t2_1, t3dg_2);
110  test_T3dg_05(t2_1, t3dg_2);
111  test_T3dg_06(t2s_1, t3dg_2);
112  test_T3dg_07(t2_1, t3dg_2);
113  test_T3dg_08(t2_1, t3dg_2);
114  test_T3dg_09(t1_2, t2s_2, t3dg_1);
115  test_T3dg_10(t3dg_1);
116  test_T3dg_11(t3dg_1, t3dg_2, t3dg_3);
117  test_T3dg_12(t3dg_1, t3dg_2, t3dg_3);
118  test_T3dg_13(t3dg_1, t3dg_2, t3dg_3);
119  test_T3dg_14(t3dg_1, t3dg_2);
120  test_T3dg_15(t1_2, t3dg_1, t3dg_2, t3dg_3);
121  test_T3dg_16(t3dg_1, t3dg_2);
122  test_T3dg_17(t1_2, t2s_1, t3dg_2, t3dg_3);
123  test_T3dg_18(t1_2, t2_1, t3dg_2, t3dg_3);
124  test_T3dg_19(t1_2, t2_1, t3dg_2, t3dg_3);
125  test_T3dg_20(t2_2, t3dg_1, t3dg_2, t3dg_3);
126  test_T3dg_21(t2_2, t3dg_1, t3dg_2, t3dg_3);
127  test_T3dg_22(t1_1, t2_2, t3dg_2);
128  test_T3dg_23(t1_1, t2_2, t3dg_2);
129  test_T3dg_24(t1_1, t2_2, t3dg_2);
130  test_T3dg_25(t1_1, t2_2, t3dg_2);
131  test_T3dg_26(t1_1, t2_2, t3dg_2);
132  test_T3dg_27(t1_1, t2_2, t3dg_2);
133  test_T3dg_28(t2s_2, t3dg_1, t3dg_2, t3dg_3);
134  test_T3dg_29(t2s_2, t3dg_1, t3dg_2, t3dg_3);
135  test_T3dg_30(t1_1, t2s_2, t3dg_2);
136  test_T3dg_31(t1_1, t2s_2, t3dg_2);
137  test_T3dg_32(t1_1, t2s_2, t3dg_2);
138  test_T3dg_33(t1_1, t2s_2, t3dg_2);
139  test_T3dg_34(t1_1, t2s_2, t3dg_2);
140  test_T3dg_35(t1_1, t2s_2, t3dg_2);
141  test_T3dg_36(t2_1, t2s_2, t3dg_1, t3dg_2, t3dg_3);
142  test_T3dg_37(t2_2, t2s_2, t3dg_2, t3dg_3);
143  test_T3dg_038(t3dg_2, t3dg_3);
144 }
test_T3dg_37
void test_T3dg_37(const Tensor2< double, 3, 3 > &t2_2, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_37.cpp:7
FTensor
JSON compatible output.
Definition: Christof_constructor.hpp:6
test_T3dg_08
void test_T3dg_08(Tensor2< double, 3, 3 > &t2_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_08.cpp:7
FTensor::Tensor1< double, 3 >
test_T3dg_16
void test_T3dg_16(Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_16.cpp:7
test_T3dg_17
void test_T3dg_17(const Tensor1< double, 3 > &t1_2, Tensor2_symmetric< double, 3 > &t2s_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_17.cpp:7
test_T3dg_12
void test_T3dg_12(Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_12.cpp:7
test_T3dg_21
void test_T3dg_21(const Tensor2< double, 3, 3 > &t2_2, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_21.cpp:7
test_T3dg_29
void test_T3dg_29(const Tensor2_symmetric< double, 3 > &t2s_2, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_29.cpp:7
test_T3dg_35
void test_T3dg_35(Tensor1< double, 3 > &t1_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_35.cpp:7
test_T3dg_04
void test_T3dg_04(Tensor2< double, 3, 3 > &t2_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_04.cpp:7
FTensor::Tensor2_symmetric
Definition: Tensor2_symmetric_value.hpp:13
test_T3dg_20
void test_T3dg_20(const Tensor2< double, 3, 3 > &t2_2, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_20.cpp:7
FTensor::Tensor2< double, 3, 3 >
test_T3dg_15
void test_T3dg_15(const Tensor1< double, 3 > &t1_2, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_15.cpp:7
test_T3dg_02
void test_T3dg_02(Tensor2_symmetric< double, 3 > &t2s_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Tensor2_symmetric< double, 3 > &t2s_3, Dg< double, 3, 3 > &t3dg_1)
Definition: test_T3dg_02.cpp:7
test_T3dg_07
void test_T3dg_07(Tensor2< double, 3, 3 > &t2_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_07.cpp:7
test_T3dg_05
void test_T3dg_05(Tensor2< double, 3, 3 > &t2_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_05.cpp:7
test_T3dg_06
void test_T3dg_06(Tensor2_symmetric< double, 3 > &t2s_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_06.cpp:7
test_T3dg_038
void test_T3dg_038(const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_038.cpp:7
test_T3dg_18
void test_T3dg_18(const Tensor1< double, 3 > &t1_2, Tensor2< double, 3, 3 > &t2_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_18.cpp:7
test_T3dg_22
void test_T3dg_22(Tensor1< double, 3 > &t1_1, const Tensor2< double, 3, 3 > &t2_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_22.cpp:7
test_T3dg_26
void test_T3dg_26(Tensor1< double, 3 > &t1_1, const Tensor2< double, 3, 3 > &t2_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_26.cpp:7
test_T3dg_30
void test_T3dg_30(Tensor1< double, 3 > &t1_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_30.cpp:7
test_T3dg_14
void test_T3dg_14(Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_14.cpp:7
test_T3dg_28
void test_T3dg_28(const Tensor2_symmetric< double, 3 > &t2s_2, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_28.cpp:7
test_T3dg_01
void test_T3dg_01(Tensor1< double, 3 > &t1_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_01.cpp:7
test_T3dg_23
void test_T3dg_23(Tensor1< double, 3 > &t1_1, const Tensor2< double, 3, 3 > &t2_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_23.cpp:7
test_T3dg_10
void test_T3dg_10(Dg< double, 3, 3 > &t3dg_1)
Definition: test_T3dg_10.cpp:7
test_T3dg_27
void test_T3dg_27(Tensor1< double, 3 > &t1_1, const Tensor2< double, 3, 3 > &t2_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_27.cpp:7
test_T3dg_31
void test_T3dg_31(Tensor1< double, 3 > &t1_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_31.cpp:7
FTensor::Dg
Definition: Dg_value.hpp:9
test_T3dg_09
void test_T3dg_09(const Tensor1< double, 3 > &t1_2, const Tensor2_symmetric< double, 3 > &t2s_2, Dg< double, 3, 3 > &t3dg_1)
Definition: test_T3dg_09.cpp:7
std
Definition: enable_if.hpp:5
test_T3dg_24
void test_T3dg_24(Tensor1< double, 3 > &t1_1, const Tensor2< double, 3, 3 > &t2_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_24.cpp:7
test_T3dg_33
void test_T3dg_33(Tensor1< double, 3 > &t1_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_33.cpp:7
test_T3dg_36
void test_T3dg_36(Tensor2< double, 3, 3 > &t2_1, const Tensor2_symmetric< double, 3 > &t2s_2, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_36.cpp:7
test_T3dg_25
void test_T3dg_25(Tensor1< double, 3 > &t1_1, const Tensor2< double, 3, 3 > &t2_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_25.cpp:7
test_T3dg_03
void test_T3dg_03(Tensor2_symmetric< double, 3 > &t2s_1, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_03.cpp:7
test_T3dg_11
void test_T3dg_11(Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_11.cpp:7
test_T3dg_13
void test_T3dg_13(Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_13.cpp:7
test_T3dg_34
void test_T3dg_34(Tensor1< double, 3 > &t1_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_34.cpp:7
test_T3dg
void test_T3dg(Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2, Tensor2< double, 3, 3 > &t2_1, const Tensor2< double, 3, 3 > &t2_2, Tensor2_symmetric< double, 3 > &t2s_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Tensor2_symmetric< double, 3 > &t2s_3, Dg< double, 3, 3 > &t3dg_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg.cpp:98
test_T3dg_19
void test_T3dg_19(const Tensor1< double, 3 > &t1_2, Tensor2< double, 3, 3 > &t2_1, const Dg< double, 3, 3 > &t3dg_2, const Dg< double, 3, 3 > &t3dg_3)
Definition: test_T3dg_19.cpp:7
test_T3dg_32
void test_T3dg_32(Tensor1< double, 3 > &t1_1, const Tensor2_symmetric< double, 3 > &t2s_2, const Dg< double, 3, 3 > &t3dg_2)
Definition: test_T3dg_32.cpp:7