14 multi1d<LatticeBoolean>& lSFmask)
const
25 LatticeInteger litmp = Layout::latticeCoordinate(
j_decay);
27 LatticeBoolean lbtest;
32 lbtest = (litmp == 0);
33 lbtest |= (litmp == (QDP::Layout::lattSize()[
j_decay]-2));
42 QDPIO::cerr <<
"SchrSFGaugeBC: unsupported igluetmp = " <<
igluetmp << std::endl;
47 lbtest |= (litmp == (QDP::Layout::lattSize()[
j_decay]-1));
57 lbtest |= (litmp == 1);
66 lbtest |= (litmp == 0);
93 tval = QDP::Layout::lattSize()[
j_decay] - 1;
97 tval = QDP::Layout::lattSize()[
j_decay] - 2;
104 LatticeReal lftmp0(litmp);
105 LatticeReal lftmp1(tval - litmp);
109 multi1d<Real> phi0 = phases.
lower;
110 multi1d<Real> phi1 = phases.
upper;
113 multi3d<Real>
phi(
Nd, Nc, 2);
119 Real ftmp = Real(1) / Real(tval * QDP::Layout::lattSize()[
mu]);
121 for(
int i = 0;
i < Nc; ++
i)
123 phi[
mu][
i][0] = phi0[
i] * ftmp;
124 phi[
mu][
i][1] = phi1[
i] * ftmp;
146 for(
int i = 0;
i < Nc; ++
i)
148 lftmp = lftmp0 *
phi[
mu][
i][1];
149 lftmp += lftmp1 *
phi[
mu][
i][0];
151 pokeColor(
SFBndFld[
mu], cmplx(cos(lftmp),sin(lftmp)),
i,
i);
157 XMLFileWriter xml_out(
"sf_bc.xml");
158 push(xml_out,
"SFBC");
virtual const multi1d< LatticeColorMatrix > & SFBndFld() const =0
Fixed gauge links on only the lSFmask() sites.
virtual const multi1d< LatticeBoolean > & lSFmask() const =0
Mask which lattice sites have fixed gauge links.
virtual int getDir() const =0
Decay direction.
virtual int getMaxExtent() const =0
Maximum plaquette size. This is what knows about 1x1 plaq or 1x2 rect.
virtual const Phases_t & getPhases() const =0
Get the angles on the boundaries.
virtual void initBnd(multi1d< LatticeColorMatrix > &SFBndFld, multi1d< LatticeBoolean > &lSFmask) const
Construct the mask and boundary fields.
Gauge boundary conditions.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
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)
push(xml_out,"Condensates")
Schroedinger gauge boundary conditions.
Structure holding phases.