23 void srcfil(LatticeFermion&
a,
const multi1d<int>&
coord,
int color_index,
int spin_index)
25 if (color_index >= Nc || color_index < 0)
28 if (spin_index >= Ns || spin_index < 0)
32 Complex sitecomp = cmplx(
one,0);
33 ColorVector sitecolor =
zero;
34 Fermion sitefield =
zero;
39 pokeColor(sitecolor,sitecomp,color_index),
54 void srcfil(LatticeColorVector&
a,
const multi1d<int>&
coord,
int color_index)
56 if (color_index >= Nc || color_index < 0)
60 Complex sitecomp = cmplx(
one,0);
61 ColorVector sitecolor =
zero;
65 pokeColor(sitecolor,sitecomp,color_index),
81 void srcfil(LatticeStaggeredFermion&
a,
const multi1d<int>&
coord,
int color_index)
83 if (color_index >= Nc || color_index < 0)
87 Complex sitecomp = cmplx(
one,0);
88 ColorVector sitecolor =
zero;
89 StaggeredFermion sitefield =
zero;
91 const int spin_index = 0 ;
96 pokeColor(sitecolor,sitecomp,color_index),
Primary include file for CHROMA library code.
void srcfil(LatticeFermion &a, const multi1d< int > &coord, int color_index, int spin_index)
Fill a specific color and spin index with 1.0.
Asqtad Staggered-Dirac operator.
QDP_error_exit("too many BiCG iterations", n_count, rsd_sq, cp, c, re_rvr, im_rvr, re_a, im_a, re_b, im_b)
Point source construction.