v0.14.0
src
ftensor
tests
speed
one_over_1_minus_x5.cpp
Go to the documentation of this file.
1
#include "
one_over_1_minus_x.hpp
"
2
#include <iostream>
3
4
int
main
()
5
{
6
Tensor1<double, 3>
y(0., 1., 2.);
7
Tensor1<double, 3>
a1
(2., 3., 4.);
8
Tensor1<double, 3>
a2
(5., 6., 7.);
9
Tensor1<double, 3>
a3
(8., 9., 10.);
10
Tensor1<double, 3>
a4
(11., 12., 13.);
11
Tensor1<double, 3>
a5
(14., 15., 16.);
12
13
for
(
int
ii = 0; ii < 100000000; ii++)
14
{
15
func5
(y,
a1
,
a2
,
a3
,
a4
,
a5
);
16
}
17
std::cout << y(0) <<
" "
<< y(1) <<
" "
<< y(2) << std::endl;
18
}
a2
constexpr double a2
Definition:
hcurl_check_approx_in_2d.cpp:39
main
int main()
Definition:
one_over_1_minus_x5.cpp:4
a3
constexpr double a3
Definition:
hcurl_check_approx_in_2d.cpp:40
FTensor::Tensor1< double, 3 >
a1
constexpr double a1
Definition:
hcurl_check_approx_in_2d.cpp:38
a4
constexpr double a4
Definition:
hcurl_check_approx_in_2d.cpp:41
func5
void func5(Tensor1< double, 3 > &y, Tensor1< double, 3 > &a1, Tensor1< double, 3 > &a2, Tensor1< double, 3 > &a3, Tensor1< double, 3 > &a4, Tensor1< double, 3 > &a5)
Definition:
one_over_1_minus_x.hpp:55
one_over_1_minus_x.hpp
a5
constexpr double a5
Definition:
hcurl_check_approx_in_2d.cpp:42
Generated by
Doxygen
1.8.17 and hosted at