Bridge++  Ver. 2.0.2
bridgeQXS_Staggered.h
Go to the documentation of this file.
1 
9 #ifndef BRIDGEQXS_STAGGERED_INCLUDED
10 #define BRIDGEQXS_STAGGERED_INCLUDED
11 
12 namespace BridgeQXS {
13  // real_t = double
14 
15  void mult_staggered_clear(double *v, int *Nsize, int Nin);
16 
17  // y = b * y + a *x
18  void mult_staggered_axpby(double b, double *y, double a, double *x,
19  int *Nsize, int Nin);
20 
21  void mult_staggered_phase(double *v, double *ph, int *Nsize, int Nin);
22 
23  // v = U * w
24  void mult_staggered_mult_Gn(double *v, double *u, double *w, int *Nsize);
25 
26  // v = U^d * w
27  void mult_staggered_mult_Gd(double *v, double *u, double *w, int *Nsize);
28 
29  void mult_staggered_bulk(double *v2, double *up, double *v1,
30  double qm, int jd,
31  int *Nsize, int *do_comm);
32 
33  void mult_staggered_1(double *buf_xp, double *buf_xm,
34  double *buf_yp, double *buf_ym,
35  double *buf_zp, double *buf_zm,
36  double *buf_tp, double *buf_tm,
37  double *up, double *v1,
38  int *Nsize, int *do_comm);
39 
40  void mult_staggered_2(double *v2, double *up, double *v1,
41  double *buf_xp, double *buf_xm,
42  double *buf_yp, double *buf_ym,
43  double *buf_zp, double *buf_zm,
44  double *buf_tp, double *buf_tm,
45  double qm, int jd,
46  int *Nsize, int *do_comm);
47 
48  void mult_staggered_eo_bulk(double *v2, double *up,
49  double *v1, double *xp,
50  double qm, int jd,
51  int *Nsize, int *do_comm,
52  int *Leo, int ieo, int iflag);
53 
54  void mult_staggered_eo_1(double *buf_xp, double *buf_xm,
55  double *buf_yp, double *buf_ym,
56  double *buf_zp, double *buf_zm,
57  double *buf_tp, double *buf_tm,
58  double *up, double *v1,
59  int *Nsize, int *do_comm,
60  int *Leo, int ieo);
61 
62  void mult_staggered_eo_2(double *v2, double *up, double *v1,
63  double *buf_xp, double *buf_xm,
64  double *buf_yp, double *buf_ym,
65  double *buf_zp, double *buf_zm,
66  double *buf_tp, double *buf_tm,
67  double qm, int *Nsize, int *do_comm,
68  int *Leo, int ieo, int iflag);
69 
70  // real_t = float
71 
72  void mult_staggered_clear(float *v, int *Nsize, int Nin);
73 
74  void mult_staggered_axpby(float b, float *v, float a, float *w,
75  int *Nsize, int Nin);
76 
77  void mult_staggered_phase(float *v, float *ph, int *Nsize, int Nin);
78 
79  // v = U * w
80  void mult_staggered_mult_Gn(float *v, float *u, float *w, int *Nsize);
81 
82  // v = U^d * w
83  void mult_staggered_mult_Gd(float *v, float *u, float *w, int *Nsize);
84 
85  void mult_staggered_bulk(float *v2, float *up, float *v1,
86  float qm, int jd,
87  int *Nsize, int *do_comm);
88 
89  void mult_staggered_1(float *buf_xp, float *buf_xm,
90  float *buf_yp, float *buf_ym,
91  float *buf_zp, float *buf_zm,
92  float *buf_tp, float *buf_tm,
93  float *up, float *v1,
94  int *Nsize, int *do_comm);
95 
96  void mult_staggered_2(float *v2, float *up, float *v1,
97  float *buf_xp, float *buf_xm,
98  float *buf_yp, float *buf_ym,
99  float *buf_zp, float *buf_zm,
100  float *buf_tp, float *buf_tm,
101  float qm, int jd,
102  int *Nsize, int *do_comm);
103 
104  void mult_staggered_eo_bulk(float *v2, float *up,
105  float *v1, float *xp,
106  float qm, int jd,
107  int *Nsize, int *do_comm,
108  int *Leo, int ieo, int iflag);
109 
110  void mult_staggered_eo_1(float *buf_xp, float *buf_xm,
111  float *buf_yp, float *buf_ym,
112  float *buf_zp, float *buf_zm,
113  float *buf_tp, float *buf_tm,
114  float *up, float *v1,
115  int *Nsize, int *do_comm,
116  int *Leo, int ieo);
117 
118  void mult_staggered_eo_2(float *v2, float *up, float *v1,
119  float *buf_xp, float *buf_xm,
120  float *buf_yp, float *buf_ym,
121  float *buf_zp, float *buf_zm,
122  float *buf_tp, float *buf_tm,
123  float qm, int *Nsize, int *do_comm,
124  int *Leo, int ieo, int iflag);
125 }
126 #endif
BridgeQXS::mult_staggered_bulk
void mult_staggered_bulk(double *v2, double *up, double *v1, double qm, int jd, int *Nsize, int *do_comm)
Definition: mult_Staggered_qxs-inc.h:184
BridgeQXS::mult_staggered_2
void mult_staggered_2(double *v2, double *up, double *v1, double *buf_xp, double *buf_xm, double *buf_yp, double *buf_ym, double *buf_zp, double *buf_zm, double *buf_tp, double *buf_tm, double qm, int jd, int *Nsize, int *do_comm)
Definition: mult_Staggered_qxs-inc.h:528
BridgeQXS::mult_staggered_phase
void mult_staggered_phase(double *v, double *ph, int *Nsize, int Nin)
Definition: mult_Staggered_qxs-inc.h:16
BridgeQXS::mult_staggered_mult_Gd
void mult_staggered_mult_Gd(double *v, double *u, double *w, int *Nsize)
Definition: mult_Staggered_qxs-inc.h:142
BridgeQXS::mult_staggered_axpby
void mult_staggered_axpby(double b, double *y, double a, double *x, int *Nsize, int Nin)
Definition: mult_Staggered_qxs-inc.h:70
BridgeQXS::mult_staggered_1
void mult_staggered_1(double *buf_xp, double *buf_xm, double *buf_yp, double *buf_ym, double *buf_zp, double *buf_zm, double *buf_tp, double *buf_tm, double *up, double *v1, int *Nsize, int *do_comm)
Definition: mult_Staggered_qxs-inc.h:333
BridgeQXS::mult_staggered_clear
void mult_staggered_clear(double *v, int *Nsize, int Nin)
Definition: mult_Staggered_qxs-inc.h:45
BridgeQXS::mult_staggered_eo_bulk
void mult_staggered_eo_bulk(double *v2, double *up, double *v1, double *xp, double qm, int jd, int *Nsize, int *do_comm, int *Leo, int ieo, int iflag)
Definition: mult_Staggered_eo_qxs-inc.h:16
BridgeQXS::mult_staggered_mult_Gn
void mult_staggered_mult_Gn(double *v, double *u, double *w, int *Nsize)
Definition: mult_Staggered_qxs-inc.h:100
BridgeQXS
Definition: bridgeQXS_Clover.h:12
BridgeQXS::mult_staggered_eo_2
void mult_staggered_eo_2(double *v2, double *up, double *v1, double *buf_xp, double *buf_xm, double *buf_yp, double *buf_ym, double *buf_zp, double *buf_zm, double *buf_tp, double *buf_tm, double qm, int *Nsize, int *do_comm, int *Leo, int ieo, int iflag)
Definition: mult_Staggered_eo_qxs-inc.h:409
BridgeQXS::mult_staggered_eo_1
void mult_staggered_eo_1(double *buf_xp, double *buf_xm, double *buf_yp, double *buf_ym, double *buf_zp, double *buf_zm, double *buf_tp, double *buf_tm, double *up, double *v1, int *Nsize, int *do_comm, int *Leo, int ieo)
Definition: mult_Staggered_eo_qxs-inc.h:198