v0.14.0
src
ftensor
tests
speed
one_over_1_minus_x.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
9
for
(
int
ii = 0; ii < 1000000000; ii++)
10
{
11
func1
(y,
a1
);
12
}
13
std::cout << y(0) <<
" "
<< y(1) <<
" "
<< y(2) << std::endl;
14
}
FTensor::Tensor1< double, 3 >
a1
constexpr double a1
Definition:
hcurl_check_approx_in_2d.cpp:38
func1
void func1(Tensor1< double, 3 > &y, Tensor1< double, 3 > &a1)
Definition:
one_over_1_minus_x.hpp:4
main
int main()
Definition:
one_over_1_minus_x.cpp:4
one_over_1_minus_x.hpp
Generated by
Doxygen
1.8.17 and hosted at