v0.14.0
Functions
one_over_1_minus_x4.cpp File Reference
#include "one_over_1_minus_x.hpp"
#include <iostream>

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 4 of file one_over_1_minus_x4.cpp.

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 
12  for(int ii = 0; ii < 100000000; ii++)
13  {
14  func4(y, a1, a2, a3, a4);
15  }
16  std::cout << y(0) << " " << y(1) << " " << y(2) << std::endl;
17 }
a2
constexpr double a2
Definition: hcurl_check_approx_in_2d.cpp:39
a3
constexpr double a3
Definition: hcurl_check_approx_in_2d.cpp:40
FTensor::Tensor1< double, 3 >
func4
void func4(Tensor1< double, 3 > &y, Tensor1< double, 3 > &a1, Tensor1< double, 3 > &a2, Tensor1< double, 3 > &a3, Tensor1< double, 3 > &a4)
Definition: one_over_1_minus_x.hpp:38
a1
constexpr double a1
Definition: hcurl_check_approx_in_2d.cpp:38
a4
constexpr double a4
Definition: hcurl_check_approx_in_2d.cpp:41