#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <type_traits>
#include "quda.h"
#include "gauge_field.h"
#include "host_utils.h"
#include "misc.h"
#include "gauge_force_reference.h"
Go to the source code of this file.
|
#define | CADD(a, b, c) |
|
#define | CMUL(a, b, c) |
|
#define | CSUM(a, b) |
|
#define | CMULJ_(a, b, c) |
|
#define | CMUL_J(a, b, c) |
|
#define | CONJG(a, b) |
|
|
int | neighborIndexFullLattice (int i, int dx4, int dx3, int dx2, int dx1) |
|
template<typename su3_matrix > |
void | su3_adjoint (su3_matrix *a, su3_matrix *b) |
|
template<typename su3_matrix , typename anti_hermitmat > |
void | make_anti_hermitian (su3_matrix *m3, anti_hermitmat *ah3) |
|
template<typename su3_matrix > |
void | print_su3_matrix (su3_matrix *a) |
|
int | gf_neighborIndexFullLattice (int i, int dx4, int dx3, int dx2, int dx1) |
|
void | gauge_force_reference_dir (void *refMom, int dir, double eb3, void **sitelink, void **sitelink_ex_2d, QudaPrecision prec, int **path_dir, int *length, void *loop_coeff, int num_paths) |
|
void | gauge_force_reference (void *refMom, double eb3, void **sitelink, QudaPrecision prec, int ***path_dir, int *length, void *loop_coeff, int num_paths) |
|
◆ CADD
Value: { \
(c).real = (a).real + (b).real; \
(c).imag = (a).imag + (b).imag; \
}
Definition at line 19 of file gauge_force_reference.cpp.
◆ CMUL
Value: { \
(c).real = (a).real * (b).real - (a).imag * (b).imag; \
(c).imag = (a).real * (b).imag + (a).imag * (b).real; \
}
Definition at line 24 of file gauge_force_reference.cpp.
◆ CMUL_J
#define CMUL_J |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value: { \
(c).real = (a).real * (b).real + (a).imag * (b).imag; \
(c).imag = (a).imag * (b).real - (a).real * (b).imag; \
}
Definition at line 43 of file gauge_force_reference.cpp.
◆ CMULJ_
#define CMULJ_ |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value: { \
(c).real = (a).real * (b).real + (a).imag * (b).imag; \
(c).imag = (a).real * (b).imag - (a).imag * (b).real; \
}
Definition at line 36 of file gauge_force_reference.cpp.
◆ CONJG
◆ CSUM
◆ gauge_force_reference()
void gauge_force_reference |
( |
void * |
refMom, |
|
|
double |
eb3, |
|
|
void ** |
sitelink, |
|
|
QudaPrecision |
prec, |
|
|
int *** |
path_dir, |
|
|
int * |
length, |
|
|
void * |
loop_coeff, |
|
|
int |
num_paths |
|
) |
| |
◆ gauge_force_reference_dir()
void gauge_force_reference_dir |
( |
void * |
refMom, |
|
|
int |
dir, |
|
|
double |
eb3, |
|
|
void ** |
sitelink, |
|
|
void ** |
sitelink_ex_2d, |
|
|
QudaPrecision |
prec, |
|
|
int ** |
path_dir, |
|
|
int * |
length, |
|
|
void * |
loop_coeff, |
|
|
int |
num_paths |
|
) |
| |
◆ gf_neighborIndexFullLattice()
int gf_neighborIndexFullLattice |
( |
int |
i, |
|
|
int |
dx4, |
|
|
int |
dx3, |
|
|
int |
dx2, |
|
|
int |
dx1 |
|
) |
| |
◆ make_anti_hermitian()
template<typename su3_matrix , typename anti_hermitmat >
void make_anti_hermitian |
( |
su3_matrix * |
m3, |
|
|
anti_hermitmat * |
ah3 |
|
) |
| |
◆ neighborIndexFullLattice()
int neighborIndexFullLattice |
( |
int |
i, |
|
|
int |
dx4, |
|
|
int |
dx3, |
|
|
int |
dx2, |
|
|
int |
dx1 |
|
) |
| |
◆ print_su3_matrix()
template<typename su3_matrix >
◆ su3_adjoint()
template<typename su3_matrix >
◆ Vh
◆ Vh_ex