#include "../../FTensor.hpp"
#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 6 of file Number_test.cpp.
7{
11 Tensor2 t2(1, 2, 3, 4, 5, 6, 7, 8, 9);
12
18
19 for(int ii = 0; ii < 100000000; ii++)
20 {
21 y(
i) += (x(
i) +
n(
i) + t2(
i,
N0))
22
23
24
25
26
27
28
29
30
31
32
33
34
35 ;
36 }
37 std::cout << y(0) << " " << y(1) << " " << y(2) << std::endl;
38}
FTensor::Index< 'n', SPACE_DIM > n
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'j', 3 > j