v0.14.0
test_T2.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_T2_iostream();
8 void test_T2_01(const Tensor1<double, 3> &t1_1,
9  const Tensor1<double, 3> &t1_2);
10 void test_T2_02(const Tensor1<double, 3> &t1_1);
11 void test_T2_03();
12 void test_T2_04(const Tensor2<double, 3, 3> &t2_1);
13 void test_T2_05(const Tensor2<double, 3, 3> &t2_1);
14 void test_T2_06(const Tensor2<double, 3, 3> &t2_1);
15 void test_T2_07(const Tensor2<double, 3, 3> &t2_1);
16 void test_T2_08(const Tensor1<double, 3> &t1_2);
17 void test_T2_09();
18 void test_T2_10(const Tensor2<double, 3, 3> &t2_1);
19 void test_T2_11(const Tensor2<double, 3, 3> &t2_1);
20 void test_T2_12(const Tensor2<double, 3, 3> &t2_1);
21 void test_T2_13(const Tensor2<double, 3, 3> &t2_1);
22 void test_T2_14(const Tensor1<double, 3> &t1_1, const Tensor1<double, 3> &t1_2,
23  const Tensor2<double, 3, 3> &t2_2);
24 void test_T2_15(const Tensor1<double, 3> &t1_1, const Tensor1<double, 3> &t1_2,
25  const Tensor2<double, 3, 3> &t2_2);
26 void test_T2_16(const Tensor1<double, 3> &t1_1, const Tensor1<double, 3> &t1_2,
27  const Tensor2<double, 3, 3> &t2_2);
28 void test_T2_17(const Tensor2<double, 3, 3> &t2_1,
29  const Tensor2<double, 3, 3> &t2_2);
30 void test_T2_18(const Tensor2<double, 3, 3> &t2_1,
31  const Tensor2<double, 3, 3> &t2_2);
32 void test_T2_19(const Tensor1<double, 3> &t1_1, const Tensor1<double, 3> &t1_2,
33  const Tensor2<double, 3, 3> &t2_2);
34 void test_T2_20(const Tensor2<double, 3, 3> &t2_1,
35  const Tensor2<double, 3, 3> &t2_2);
36 void test_T2_21(const Tensor2<double, 3, 3> &t2_1,
37  const Tensor2<double, 3, 3> &t2_2);
38 void test_T2_22(const Tensor2<double, 3, 3> &t2_1);
39 void test_T2_23(const Tensor1<double, 3> &t1_2,
40  const Tensor2<double, 3, 3> &t2_2);
41 void test_T2_24(const Tensor1<double, 3> &t1_2,
42  const Tensor2<double, 3, 3> &t2_2);
43 void test_T2_25(const Tensor2<double, 4, 3> &t2_4,
44  const Tensor2<double, 3, 4> &t2_5);
45 void test_T2_26(const Tensor2<double, 4, 3> &t2_4,
46  const Tensor2<double, 3, 4> &t2_5);
47 void test_T2_27(const Tensor2<double, 4, 3> &t2_4,
48  const Tensor2<double, 3, 4> &t2_5);
49 void test_T2_28(const Tensor2<double, 4, 3> &t2_4,
50  const Tensor2<double, 3, 4> &t2_5);
51 void test_T2_29(const Tensor2<double, 4, 3> &t2_4,
52  const Tensor2<double, 3, 4> &t2_5);
53 void test_T2_30(const Tensor1<double, 3> &t1_2,
54  const Tensor2<double, 3, 3> &t2_2);
55 void test_T2_31(const Tensor1<double, 3> &t1_2,
56  const Tensor2<double, 3, 3> &t2_2);
57 void test_T2_32(const Tensor2<double, 3, 3> &t2_2);
58 void test_T2_33(const Tensor2<double, 3, 3> &t2_2);
59 void test_T2_34(const Tensor2<double, 3, 3> &t2_2);
60 void test_T2_35(const Tensor2<double, 3, 3> &t2_2);
61 void test_T2_36(const Tensor2<double, 3, 3> &t2_2);
62 void test_T2_37(const Tensor2<double, 3, 3> &t2_2);
63 void test_T2_38();
64 
65 void test_T2(const Tensor1<double, 3> &t1_1, const Tensor1<double, 3> &t1_2,
66  const Tensor2<double, 3, 3> &t2_1,
67  const Tensor2<double, 3, 3> &t2_2,
68  const Tensor2<double, 4, 3> &t2_4,
69  const Tensor2<double, 3, 4> &t2_5)
70 {
72  test_T2_01(t1_1, t1_2);
73  test_T2_02(t1_1);
74  test_T2_03();
75  test_T2_04(t2_1);
76  test_T2_05(t2_1);
77  test_T2_06(t2_1);
78  test_T2_07(t2_1);
79  test_T2_08(t1_2);
80  test_T2_09();
81  test_T2_10(t2_1);
82  test_T2_11(t2_1);
83  test_T2_12(t2_1);
84  test_T2_13(t2_1);
85  test_T2_14(t1_1, t1_2, t2_2);
86  test_T2_15(t1_1, t1_2, t2_2);
87  test_T2_16(t1_1, t1_2, t2_2);
88  test_T2_17(t2_1, t2_2);
89  test_T2_18(t2_1, t2_2);
90  test_T2_19(t1_1, t1_2, t2_2);
91  test_T2_20(t2_1, t2_2);
92  test_T2_21(t2_1, t2_2);
93  test_T2_22(t2_1);
94  test_T2_23(t1_2, t2_2);
95  test_T2_24(t1_2, t2_2);
96  test_T2_25(t2_4, t2_5);
97  test_T2_26(t2_4, t2_5);
98  test_T2_27(t2_4, t2_5);
99  test_T2_28(t2_4, t2_5);
100  test_T2_29(t2_4, t2_5);
101  test_T2_30(t1_2, t2_2);
102  test_T2_31(t1_2, t2_2);
103  test_T2_32(t2_2);
104  test_T2_33(t2_2);
105  test_T2_34(t2_2);
106  test_T2_35(t2_2);
107  test_T2_36(t2_2);
108  test_T2_37(t2_2);
109  test_T2_38();
110 }
FTensor
JSON compatible output.
Definition: Christof_constructor.hpp:6
test_T2
void test_T2(const Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_1, const Tensor2< double, 3, 3 > &t2_2, const Tensor2< double, 4, 3 > &t2_4, const Tensor2< double, 3, 4 > &t2_5)
Definition: test_T2.cpp:65
FTensor::Tensor1< double, 3 >
test_T2_24
void test_T2_24(const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_24.cpp:7
test_T2_16
void test_T2_16(const Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_16.cpp:7
test_T2_03
void test_T2_03()
Definition: test_T2_03.cpp:7
test_T2_20
void test_T2_20(const Tensor2< double, 3, 3 > &t2_1, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_20.cpp:7
test_T2_04
void test_T2_04(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_04.cpp:7
test_T2_06
void test_T2_06(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_06.cpp:7
FTensor::Tensor2< double, 3, 3 >
test_T2_23
void test_T2_23(const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_23.cpp:7
test_T2_21
void test_T2_21(const Tensor2< double, 3, 3 > &t2_1, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_21.cpp:7
test_T2_19
void test_T2_19(const Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_19.cpp:7
test_T2_01
void test_T2_01(const Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2)
Definition: test_T2_01.cpp:7
test_T2_31
void test_T2_31(const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_31.cpp:7
test_T2_32
void test_T2_32(const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_32.cpp:7
test_T2_38
void test_T2_38()
Definition: test_T2_38.cpp:7
test_T2_05
void test_T2_05(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_05.cpp:7
test_T2_22
void test_T2_22(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_22.cpp:7
test_T2_07
void test_T2_07(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_07.cpp:7
test_T2_08
void test_T2_08(const Tensor1< double, 3 > &t1_2)
Definition: test_T2_08.cpp:7
test_T2_17
void test_T2_17(const Tensor2< double, 3, 3 > &t2_1, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_17.cpp:7
test_T2_02
void test_T2_02(const Tensor1< double, 3 > &t1_1)
Definition: test_T2_02.cpp:7
test_T2_35
void test_T2_35(const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_35.cpp:7
test_T2_27
void test_T2_27(const Tensor2< double, 4, 3 > &t2_4, const Tensor2< double, 3, 4 > &t2_5)
Definition: test_T2_27.cpp:7
test_T2_26
void test_T2_26(const Tensor2< double, 4, 3 > &t2_4, const Tensor2< double, 3, 4 > &t2_5)
Definition: test_T2_26.cpp:7
test_T2_34
void test_T2_34(const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_34.cpp:7
test_T2_iostream
void test_T2_iostream()
Definition: test_T2_iostream.cpp:7
test_T2_33
void test_T2_33(const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_33.cpp:7
test_T2_14
void test_T2_14(const Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_14.cpp:7
test_T2_10
void test_T2_10(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_10.cpp:7
std
Definition: enable_if.hpp:5
test_T2_15
void test_T2_15(const Tensor1< double, 3 > &t1_1, const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_15.cpp:7
test_T2_29
void test_T2_29(const Tensor2< double, 4, 3 > &t2_4, const Tensor2< double, 3, 4 > &t2_5)
Definition: test_T2_29.cpp:7
test_T2_30
void test_T2_30(const Tensor1< double, 3 > &t1_2, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_30.cpp:7
test_T2_25
void test_T2_25(const Tensor2< double, 4, 3 > &t2_4, const Tensor2< double, 3, 4 > &t2_5)
Definition: test_T2_25.cpp:7
test_T2_18
void test_T2_18(const Tensor2< double, 3, 3 > &t2_1, const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_18.cpp:7
test_T2_28
void test_T2_28(const Tensor2< double, 4, 3 > &t2_4, const Tensor2< double, 3, 4 > &t2_5)
Definition: test_T2_28.cpp:7
test_T2_36
void test_T2_36(const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_36.cpp:7
test_T2_09
void test_T2_09()
Definition: test_T2_09.cpp:7
test_T2_11
void test_T2_11(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_11.cpp:7
test_T2_12
void test_T2_12(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_12.cpp:7
test_T2_37
void test_T2_37(const Tensor2< double, 3, 3 > &t2_2)
Definition: test_T2_37.cpp:7
test_T2_13
void test_T2_13(const Tensor2< double, 3, 3 > &t2_1)
Definition: test_T2_13.cpp:7