45 namespace StaggeredDerivQuarkDisplacementEnv
76 LatticeStaggeredPropagator
displacement(
const multi1d<LatticeColorMatrix>&
u,
77 const LatticeStaggeredPropagator&
psi,
80 if (dir < 0 || dir >=
Nd)
82 QDPIO::cerr << __func__ <<
": invalid direction: dir=" << dir << std::endl;
86 LatticeStaggeredPropagator
chi =
psi;
90 for(
int n = 0;
n < length; ++
n)
98 for(
int n = 0;
n > length; --
n)
100 LatticeStaggeredPropagator
tmp = shift(adj(
u[dir])*
chi,
BACKWARD, dir);
116 LatticeStaggeredPropagator
rightNabla(
const LatticeStaggeredPropagator&
F,
117 const multi1d<LatticeColorMatrix>&
u,
145 XMLReader paramtop(xml, path);
148 read(paramtop,
"version", version);
156 QDPIO::cerr << __func__ <<
": parameter version " << version
157 <<
" unsupported." << std::endl;
191 XMLReader paramtop(xml, path);
194 read(paramtop,
"version", version);
202 QDPIO::cerr << __func__ <<
": parameter version " << version
203 <<
" unsupported." << std::endl;
235 const multi1d<LatticeColorMatrix>&
u,
240 LatticeStaggeredPropagator fin;
Primary include file for CHROMA library code.
Base class for quark displacement.
Construct (right Nabla) source.
void operator()(T &quark, const multi1d< LatticeColorMatrix > &u, enum PlusMinus isign) const
Displace the quark.
Staggered Derivative displacements.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
LatticeColorVector rightNabla(const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, const multi1d< int > &path)
Apply a right nabla path to a lattice field.
LatticePropagator displacement(const multi1d< LatticeColorMatrix > &u, const LatticePropagator &chi, int length, int dir)
Apply a displacement operator to a lattice field.
void write(XMLWriter &xml, const std::string &path, const StaggeredDerivQuarkDisplacementEnv::ParamsDir ¶m)
Writer.
Register all the possible deriv mesons bool registerAll()
Local registration static flag bool registered
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)
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
multi1d< LatticeFermion > chi(Ncb)
All quark displacement constructors.
Factory for producing quark displacement objects.
Deriv meson source parameters.
void writeXML(XMLWriter &in, const std::string &path) const
std::string displacement_type
Params for derivative quark displacement.
void writeXML(XMLWriter &in, const std::string &path) const
std::string displacement_type
static INTERNAL_PRECISION F