Header for routines related to lattice sites. More...
Go to the source code of this file.
Functions | |
| int | Addrc (unsigned int *iu, unsigned int *id) |
| Loads the addresses required during the update. | |
| int | ia (int x, int y, int z, int t) |
| Described as a 21st Century address calculator, it gets the memory address of an array entry. | |
| int | Check_addr (unsigned int *table, int lns, int lnt, int imin, int imax) |
| Checks that the addresses are within bounds before an update. | |
| int | Index2lcoord (int index, int *coord) |
| Converts the index of a point in memory to the equivalent point in the 4 dimensional array, where the time index is the last coordinate in the array. | |
| int | Index2gcoord (int index, int *coord) |
| Converts the index of a point in memory to the equivalent point in the 4 dimensional array, where the time index is the last coordinate in the array. | |
| int | Coord2lindex (int ix, int iy, int iz, int it) |
| Converts the coordinates of a local lattice point to its index in the computer memory. | |
| int | Coord2gindex (int ix, int iy, int iz, int it) |
| Converts the coordinates of a global lattice point to its index in the computer memory. | |
| int | Testlcoord (int cap) |
| Tests if the local coordinate transformation functions are working. | |
| int | Testgcoord (int cap) |
| This is completely new and missing from the original code. | |
Variables | |
| unsigned int | h1u [ndim] |
| Up halo starting element. | |
| unsigned int | h1d [ndim] |
| Down halo starting element. | |
| unsigned int * | hu |
| Up halo indices. | |
| unsigned int * | hd |
| Down halo indices. | |
| unsigned int | halosize [ndim] |
| Array containing the size of the halo in each direction. | |
Header for routines related to lattice sites.
Definition in file coord.h.
|
extern |