v0.14.0
one_over_1_minus_x_fast9.cpp
Go to the documentation of this file.
2 #include <iostream>
3 
4 int main()
5 {
6  double y[] = {0, 1, 2};
7  double a1[] = {2, 3, 4};
8  double a2[] = {5, 6, 7};
9  double a3[] = {8, 9, 10};
10  double a4[] = {11, 12, 13};
11  double a5[] = {14, 15, 16};
12  double a6[] = {17, 18, 19};
13  double a7[] = {20, 21, 22};
14  double a8[] = {23, 24, 25};
15  double a9[] = {26, 27, 28};
16 
17  for(int ii = 0; ii < 10000000; ii++)
18  {
19  func9(y, a1, a2, a3, a4, a5, a6, a7, a8, a9);
20  }
21  std::cout << y[0] << " " << y[1] << " " << y[2] << std::endl;
22 }
a2
constexpr double a2
Definition: hcurl_check_approx_in_2d.cpp:39
func9
void func9(Tensor1< double, 3 > &y, Tensor1< double, 3 > &a1, Tensor1< double, 3 > &a2, Tensor1< double, 3 > &a3, Tensor1< double, 3 > &a4, Tensor1< double, 3 > &a5, Tensor1< double, 3 > &a6, Tensor1< double, 3 > &a7, Tensor1< double, 3 > &a8, Tensor1< double, 3 > &a9)
Definition: one_over_1_minus_x.hpp:151
a3
constexpr double a3
Definition: hcurl_check_approx_in_2d.cpp:40
a1
constexpr double a1
Definition: hcurl_check_approx_in_2d.cpp:38
main
int main()
Definition: one_over_1_minus_x_fast9.cpp:4
a4
constexpr double a4
Definition: hcurl_check_approx_in_2d.cpp:41
one_over_1_minus_x_fast.hpp
a6
constexpr double a6
Definition: hcurl_check_approx_in_2d.cpp:43
a5
constexpr double a5
Definition: hcurl_check_approx_in_2d.cpp:42