QUDA v0.4.0
A library for QCD on GPUs
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "quda.h"
#include "test_util.h"
#include "misc.h"
#include "gauge_force_reference.h"
Go to the source code of this file.
Classes | |
struct | fcomplex |
struct | dcomplex |
struct | fsu3_matrix |
struct | fsu3_vector |
struct | dsu3_matrix |
struct | dsu3_vector |
struct | fanti_hermitmat |
struct | danti_hermitmat |
Defines | |
#define | CADD(a, b, c) |
#define | CMUL(a, b, c) |
#define | CSUM(a, b) { (a).real += (b).real; (a).imag += (b).imag; } |
#define | CMULJ_(a, b, c) |
#define | CMUL_J(a, b, c) |
#define | CONJG(a, b) { (b).real = (a).real; (b).imag = -(a).imag; } |
Functions | |
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, void **sitelink_ex_2d, QudaPrecision prec, int ***path_dir, int *length, void *loop_coeff, int num_paths) |
Variables | |
int | Z [4] |
int | V |
int | Vh |
int | Vh_ex |
int | E [4] |
#define CADD | ( | a, | |
b, | |||
c | |||
) |
{ (c).real = (a).real + (b).real; \ (c).imag = (a).imag + (b).imag; }
Definition at line 18 of file gauge_force_reference.cpp.
#define CMUL | ( | a, | |
b, | |||
c | |||
) |
{ (c).real = (a).real*(b).real - (a).imag*(b).imag; \ (c).imag = (a).real*(b).imag + (a).imag*(b).real; }
Definition at line 20 of file gauge_force_reference.cpp.
#define CMUL_J | ( | a, | |
b, | |||
c | |||
) |
{ (c).real = (a).real*(b).real + (a).imag*(b).imag; \ (c).imag = (a).imag*(b).real - (a).real*(b).imag; }
Definition at line 29 of file gauge_force_reference.cpp.
#define CMULJ_ | ( | a, | |
b, | |||
c | |||
) |
{ (c).real = (a).real*(b).real + (a).imag*(b).imag; \ (c).imag = (a).real*(b).imag - (a).imag*(b).real; }
Definition at line 25 of file gauge_force_reference.cpp.
#define CONJG | ( | a, | |
b | |||
) | { (b).real = (a).real; (b).imag = -(a).imag; } |
Definition at line 32 of file gauge_force_reference.cpp.
#define CSUM | ( | a, | |
b | |||
) | { (a).real += (b).real; (a).imag += (b).imag; } |
Definition at line 22 of file gauge_force_reference.cpp.
void gauge_force_reference | ( | void * | refMom, |
double | eb3, | ||
void ** | sitelink, | ||
void ** | sitelink_ex_2d, | ||
QudaPrecision | prec, | ||
int *** | path_dir, | ||
int * | length, | ||
void * | loop_coeff, | ||
int | num_paths | ||
) |
Definition at line 408 of file gauge_force_reference.cpp.
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 | ||
) |
Definition at line 369 of file gauge_force_reference.cpp.
int gf_neighborIndexFullLattice | ( | int | i, |
int | dx4, | ||
int | dx3, | ||
int | dx2, | ||
int | dx1 | ||
) |
Definition at line 217 of file gauge_force_reference.cpp.
void make_anti_hermitian | ( | su3_matrix * | m3, |
anti_hermitmat * | ah3 | ||
) |
Definition at line 76 of file gauge_force_reference.cpp.
int neighborIndexFullLattice | ( | int | i, |
int | dx4, | ||
int | dx3, | ||
int | dx2, | ||
int | dx1 | ||
) |
Definition at line 361 of file test_util.cpp.
void print_su3_matrix | ( | su3_matrix * | a | ) |
Definition at line 203 of file gauge_force_reference.cpp.
void su3_adjoint | ( | su3_matrix * | a, |
su3_matrix * | b | ||
) |
Definition at line 65 of file gauge_force_reference.cpp.
int E[4] |
Definition at line 45 of file gauge_force_test.cpp.
int V |
Definition at line 5 of file force_kernel_common.cu.
int Vh |
Definition at line 50 of file dslash_constants.h.
int Vh_ex |
Definition at line 98 of file dslash_constants.h.
int Z[4] |
Definition at line 11 of file domain_wall_dslash_reference.cpp.