Finding indices from coordinates and the other way around.
More...
Go to the source code of this file.
|
#define | _lexi(_T, _X, _Y, _Z, _t, _x, _y, _z) |
|
#define | ipt_ext(t, x, y, z) |
|
#define | ipt_ext_gpu(t, x, y, z) |
|
#define | ipt(t, x, y, z) |
|
#define | imask(ix) |
|
#define | ipt_4d(t, x) |
|
#define | iup(site, dir) |
|
#define | idn(site, dir) |
|
#define | _PTR(_field) |
|
Finding indices from coordinates and the other way around.
◆ _lexi
#define _lexi |
( |
| _T, |
|
|
| _X, |
|
|
| _Y, |
|
|
| _Z, |
|
|
| _t, |
|
|
| _x, |
|
|
| _y, |
|
|
| _z ) |
Value:((((_t) * (_X) + (_x)) * (_Y) + (_y)) * (_Z) + (_z))
◆ _PTR
◆ idn
#define idn |
( |
| site, |
|
|
| dir ) |
◆ imask
◆ ipt
#define ipt |
( |
| t, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Value:ipt_ext((t) + T_BORDER, (x) + X_BORDER, (y) + Y_BORDER, (z) + Z_BORDER)
◆ ipt_4d
Value:ipt_4d[(t) * (VOL3) + (x)]
◆ ipt_ext
#define ipt_ext |
( |
| t, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Value:ipt[_lexi(T_EXT, X_EXT, Y_EXT, Z_EXT, t, x, y, z)]
◆ ipt_ext_gpu
#define ipt_ext_gpu |
( |
| t, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Value:ipt_gpu[_lexi(T_EXT_GPU, X_EXT_GPU, Y_EXT_GPU, Z_EXT_GPU, t, x, y, z)]
◆ iup
#define iup |
( |
| site, |
|
|
| dir ) |