13#if (defined__INTEL_COMPILER || __INTEL_LLVM_COMPILER)
16#if defined __INTEL_MKL__
21#include <gsl/gsl_cblas.h>
31extern unsigned int *
hu;
33extern unsigned int *
hd;
35extern unsigned int *
h1u;
37extern unsigned int *
h1d;
56 int Addrc(
unsigned int *iu,
unsigned int *
id);
68 int ia(
int x,
int y,
int z,
int t);
79 int Check_addr(
unsigned int *table,
int lns,
int lnt,
int imin,
int imax);
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 Check_addr(unsigned int *table, int lns, int lnt, int imin, int imax)
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 Testlcoord(int cap)
Tests if the local coordinate transformation functions are working.
int Index2lcoord(int index, int *coord)
Converts the index of a point in memory to the equivalent point in the 4 dimensional array,...
unsigned int * h1u
Up halo starting element.
int Index2gcoord(int index, int *coord)
Converts the index of a point in memory to the equivalent point in the 4 dimensional array,...
unsigned int * h1d
Down halo starting element.
unsigned int * halosize
Array containing the size of the halo in each direction.
int Testgcoord(int cap)
This is completely new and missing from the original code.
unsigned int * hd
Down halo indices.
unsigned int * hu
Up halo indices.
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.
Defines the constants of the code and other parameters for loop dimensions. Each subroutine includes ...