29 namespace WallQuarkSinkSmearingEnv
36 const multi1d<LatticeColorMatrix>&
u)
44 const multi1d<LatticeColorMatrix>&
u)
52 const multi1d<LatticeColorMatrix>&
u)
91 XMLReader paramtop(xml, path);
94 read(paramtop,
"version", version);
102 QDPIO::cerr << __func__ <<
": parameter version " << version
103 <<
" unsupported." << std::endl;
110 if (j_decay < 0 || j_decay >=
Nd)
112 QDPIO::cerr <<
name <<
": invalid params.j_decay=" <<
j_decay << std::endl;
123 write(xml,
"version", version);
135 QDPIO::cout <<
"Wall sink" << std::endl;
140 multi1d<DPropagator> slice_prop(sumMulti(quark_sink, phases.
getSet()));
143 quark_sink[phases.
getSet()[
t]] = slice_prop[
t];
155 QDPIO::cout <<
"Wall sink" << std::endl;
160 multi1d<DStaggeredPropagator> slice_prop(sumMulti(quark_sink, phases.
getSet()));
163 quark_sink[phases.
getSet()[
t]] = slice_prop[
t];
175 QDPIO::cout <<
"Wall sink" << std::endl;
180 multi1d<DFermion> slice_prop(sumMulti(quark_sink, phases.
getSet()));
183 quark_sink[phases.
getSet()[
t]] = slice_prop[
t];
Primary include file for CHROMA library code.
Base class for quark source and sink smearing.
Fourier transform phase factor support.
int numSubsets() const
Number of subsets - length in decay direction.
const Set & getSet() const
The set to be used in sumMulti.
void operator()(T &obj) const
Smear the sink.
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.
Class for counted reference semantics.
static bool registered
Local registration flag.
const std::string name
Name to be used.
CreateFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFerm(XMLReader &xml, const std::string &path)
bool registerAll()
Register all the factories.
std::string getName()
Return the name.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
Fourier transform phase factor support.
Factory for producing quark prop sinks.
void writeXML(XMLWriter &in, const std::string &path) const