HiRep 0.1
Loading...
Searching...
No Matches
wilsonloops.h
1#ifndef WILSONLOOPS_H
2#define WILSONLOOPS_H
3
4#include "spinor_field.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10//wilsonloops.c
11#define _WL_3VOL_INDEX(x, y, z) ((x) + (y) * X + (z) * X * Y)
12
13void WL_initialize();
14void WL_free();
15void WL_load_path(int c[3], int nsteps);
16void WL_Hamiltonian_gauge(suNg_field *out, suNg_field *in);
17void WL_broadcast_polyakov(suNg *poly, suNg_field *gf);
18void WL_correlators(double **ret, const suNg_field *gf, const suNg *poly, const int nsteps, const int *path, const int length,
19 const int perm[3], int sign[3]);
20void WL_wilsonloops(double HYP_weight[3]);
21
22typedef struct WL_path_t {
23 int c[3];
24 int *path;
25 int length;
26 int **perm;
27 int nperms;
28 int nsteps;
29} WL_path_t;
30//defined in wilsonloops.c also used in tests
31extern WL_path_t WL_path[256];
32extern int WL_npaths;
33extern int WL_max_nsteps;
34
35#ifdef __cplusplus
36}
37#endif
38#endif //WILSONLOOPS_H
The elementary site structures defined in suN.h are used in this file to define field structures that...
Definition wilsonloops.h:22
Gauge field of SU(N_g) matrices.
Definition spinor_field.h:98