#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 3 of file examplefast.cpp.
4{
5 double x[3], y[3],
n[3];
6
7 y[0] = 0;
8 y[1] = 1;
9 y[2] = 2;
10 x[0] = 2;
11 x[1] = 3;
12 x[2] = 4;
16 for(
int i = 1;
i < 10000000;
i++)
17 {
21
25
26 n[0] =
n[0] + (y[0] - x[0]) - (y[0] - x[0]) + (y[0] - x[0])
27 - (y[0] - x[0]) + (y[0] - x[0]) - (y[0] - x[0]);
28 n[1] =
n[1] + (y[1] - x[1]) - (y[1] - x[1]) + (y[1] - x[1])
29 - (y[1] - x[1]) + (y[1] - x[1]) - (y[1] - x[1]);
30 n[2] =
n[2] + (y[2] - x[2]) - (y[2] - x[2]) + (y[2] - x[2])
31 - (y[2] - x[2]) + (y[2] - x[2]) - (y[2] - x[2]);
32 }
33 cout << y[0] << " " << y[1] << " " << y[2] << endl;
34}
FTensor::Index< 'i', SPACE_DIM > i
const double n
refractive index of diffusive medium