29 namespace StoutLinkSmearingEnv
66 XMLReader paramtop(xml, path);
69 if (paramtop.count(
"version") > 0)
70 read(paramtop,
"version", version);
77 read(paramtop,
"no_smear_dir", no_smear_dir);
90 <<
" unsupported." << std::endl;
139 write(xml,
"version", version);
154 multi1d<LatticeColorMatrix> u_stout =
u;
155 multi1d<LatticeColorMatrix> u_tmp(
Nd);
159 QDPIO::cout <<
"Stout Smear gauge field" << std::endl;
169 QDPIO::cout <<
"Gauge field Stout-smeared!" << std::endl;
Primary include file for CHROMA library code.
Base class for link smearing.
void operator()(multi1d< LatticeColorMatrix > &u) const
Smear the links.
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.
void smear_links(const multi1d< LatticeColorMatrix > ¤t, multi1d< LatticeColorMatrix > &next, const multi1d< bool > &smear_in_this_dirP, const multi2d< Real > &rho)
Do the smearing from level i to level i+1.
Factory for producing link smearing objects.
static bool registered
Local registration flag.
const std::string name
Name to be used.
GaugeInit * createSource(XMLReader &xml_in, const std::string &path)
Callback function.
std::string getName()
Return the name.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
Params for Stout link smearing.
multi1d< bool > smear_dirs
void writeXML(XMLWriter &in, const std::string &path) const
Parameters for running code.