52 LatticeStaggeredFermion
tmp;
54 QDPIO::cout << __func__ <<
": slice= " << slice << std::endl;
55 a = where(Layout::latticeCoordinate(
mu) == slice,
tmp, LatticeStaggeredFermion(
zero));
67 LatticeStaggeredFermion
tmp;
71 a = where((((Layout::latticeCoordinate(0) + Layout::latticeCoordinate(1)+
72 Layout::latticeCoordinate(2) + Layout::latticeCoordinate(3))%2)
74 tmp, LatticeStaggeredFermion(
zero));
82 LatticeComplex lat_rand;
83 LatticeColorVector latcolor =
zero;
85 const int spin_index = 0 ;
92 pokeSpin(
a, pokeColor(latcolor, lat_rand, color_index), spin_index);
103 LatticeStaggeredFermion
tmp;
104 LatticeComplex lat_rand;
105 LatticeColorVector latcolor =
zero;
106 const int spin_index = 0 ;
113 pokeSpin(
tmp, pokeColor(latcolor, lat_rand, color_index), spin_index);
118 a = where(Layout::latticeCoordinate(
mu) == slice,
tmp, LatticeStaggeredFermion(
zero));
129 LatticeStaggeredFermion
tmp;
130 LatticeComplex lat_rand;
131 LatticeColorVector latcolor =
zero;
132 const int spin_index = 0 ;
138 pokeSpin(
tmp, pokeColor(latcolor, lat_rand, color_index), spin_index);
143 a = where((((Layout::latticeCoordinate(0) + Layout::latticeCoordinate(1) +
144 Layout::latticeCoordinate(2)+Layout::latticeCoordinate(3))%2)
146 tmp, LatticeStaggeredFermion(
zero));
151 int parity,
int slice,
int mu){
157 LatticeStaggeredFermion
tmp;
158 LatticeComplex lat_rand;
159 LatticeColorVector latcolor =
zero;
160 const int spin_index = 0 ;
170 a = where(((((Layout::latticeCoordinate(0) + Layout::latticeCoordinate(1) +
171 Layout::latticeCoordinate(2)+Layout::latticeCoordinate(3))%2)
172 == parity) && (Layout::latticeCoordinate(
mu) == slice)),
173 tmp, LatticeStaggeredFermion(
zero));
181 LatticeStaggeredFermion
tmp;
183 QDPIO::cout << __func__ <<
": slice= " << slice << std::endl;
187 a = where(((Layout::latticeCoordinate(
mu))-slice)%seperation == 0,
tmp,
188 LatticeStaggeredFermion(
zero));
203 LatticeStaggeredFermion
tmp;
218 (((Layout::latticeCoordinate(0))-
coord[0])%2==0) &&
219 (((Layout::latticeCoordinate(1))-
coord[1])%2==0)) &&
221 (((Layout::latticeCoordinate(2))-
coord[2])%2==0) &&
222 (((Layout::latticeCoordinate(3))-
coord[3])%2==0))),
223 tmp, LatticeStaggeredFermion(
zero));
243 LatticeStaggeredFermion
tmp;
259 (((Layout::latticeCoordinate(0))-
coord[0])%2==0) &&
260 (((Layout::latticeCoordinate(1))-
coord[1])%2==0)) &&
262 (((Layout::latticeCoordinate(2))-
coord[2])%2==0) &&
263 (((Layout::latticeCoordinate(3))-
coord[3])%2==0))) &&
264 (Layout::latticeCoordinate(
mu))/2== slice),
265 tmp, LatticeStaggeredFermion(
zero));
271 int slice,
int mu,
int seperation){
282 LatticeStaggeredFermion
tmp;
298 (((Layout::latticeCoordinate(0))-
coord[0])%2==0) &&
299 (((Layout::latticeCoordinate(1))-
coord[1])%2==0)) &&
301 (((Layout::latticeCoordinate(2))-
coord[2])%2==0) &&
302 (((Layout::latticeCoordinate(3))-
coord[3])%2==0))) &&
303 (((Layout::latticeCoordinate(
mu))/2-slice)%(seperation) == 0)),
304 tmp, LatticeStaggeredFermion(
zero));
310 int color_index,
int slice,
int mu,
314 LatticeStaggeredFermion
tmp;
315 LatticeComplex lat_rand;
316 LatticeColorVector latcolor =
zero;
317 const int spin_index = 0 ;
324 pokeSpin(
tmp, pokeColor(latcolor, lat_rand, color_index), spin_index);
331 a = where(((Layout::latticeCoordinate(
mu)-slice)%seperation) == 0,
332 tmp, LatticeStaggeredFermion(
zero));
Primary include file for CHROMA library code.
void gaussian_on_timeslice(LatticeStaggeredFermion &a, int slice, int mu)
Volume source of complex Z2 noise.
void gaussian_on_corner(LatticeStaggeredFermion &a, int corner_index)
Diluted Gauusian-source.
void gaussian_corner_on_mod_dbl_slice(LatticeStaggeredFermion &a, int corner_index, int slice, int mu, int seperation)
Diluted Gauusian-source.
void gaussian_on_parity(LatticeStaggeredFermion &a, int parity)
Diluted Gauusian-source.
void gaussian_color_src_on_slice(LatticeStaggeredFermion &a, int color_index, int slice, int mu)
Diluted Gauusian-source.
void gaussian_color_src_on_parity(LatticeStaggeredFermion &a, int color_index, int parity)
Diluted Gauusian-source.
void gaussian_color_src(LatticeStaggeredFermion &a, int color_index)
Diluted Gauusian-source.
void gaussian_parity_src_on_slice(LatticeStaggeredFermion &a, int parity, int slice, int mu)
Diluted Gauusian-source.
void gaussian_on_mod_timeslice(LatticeStaggeredFermion &a, int slice, int mu, int seperation)
Diluted Gauusian-source.
void gaussian_corner_on_dbl_slice(LatticeStaggeredFermion &a, int corner_index, int slice, int mu)
Diluted Gauusian-source.
void gaussian_color_src_on_mod_slice(LatticeStaggeredFermion &a, int color_index, int slice, int mu, int seperation)
Diluted Gauusian-source.
Asqtad Staggered-Dirac operator.
void PropIndexTodelta(int src_index, multi1d< int > &delta)