#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "quda.h"
#include "test_util.h"
#include "misc.h"
#include "fermion_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) { (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; } |
|
#define | Pmu tempvec[0] |
|
#define | Pnumu tempvec[1] |
|
#define | Prhonumu tempvec[2] |
|
#define | P7 tempvec[3] |
|
#define | P7rho tempvec[4] |
|
#define | P7rhonu tempvec[5] |
|
#define | P5 tempvec[6] |
|
#define | P3 tempvec[7] |
|
#define | P5nu tempvec[3] |
|
#define | P3mu tempvec[3] |
|
#define | Popmu tempvec[4] |
|
#define | Pmumumu tempvec[4] |
|
|
void | fermion_force_reference (float eps, float weight1, float weight2, void *act_path_coeff, void *temp_x, void *sitelink, void *mom) |
|
void | fermion_force_reference (double eps, double weight1, double weight2, void *act_path_coeff, void *temp_x, void *sitelink, void *mom) |
|
Value:{ (c).real = (a).real*(b).real - (a).imag*(b).imag; \
(c).imag = (a).real*(b).imag + (a).imag*(b).real; }
Definition at line 18 of file fermion_force_reference.cpp.
#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 27 of file fermion_force_reference.cpp.
#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 23 of file fermion_force_reference.cpp.
#define CONJG |
( |
|
a, |
|
|
|
b |
|
) |
| { (b).real = (a).real; (b).imag = -(a).imag; } |
#define CSUM |
( |
|
a, |
|
|
|
b |
|
) |
| { (a).real += (b).real; (a).imag += (b).imag; } |
#define P7rhonu tempvec[5] |
#define Pmumumu tempvec[4] |
#define Prhonumu tempvec[2] |
void fermion_force_reference |
( |
float |
eps, |
|
|
float |
weight1, |
|
|
float |
weight2, |
|
|
void * |
act_path_coeff, |
|
|
void * |
temp_x, |
|
|
void * |
sitelink, |
|
|
void * |
mom |
|
) |
| |
void fermion_force_reference |
( |
double |
eps, |
|
|
double |
weight1, |
|
|
double |
weight2, |
|
|
void * |
act_path_coeff, |
|
|
void * |
temp_x, |
|
|
void * |
sitelink, |
|
|
void * |
mom |
|
) |
| |