29 namespace APELinkSmearingEnv
66 XMLReader paramtop(xml, path);
69 if (paramtop.count(
"version") != 0)
70 read(paramtop,
"version", version);
86 QDPIO::cerr <<
"Input parameter version " << version <<
" unsupported." << std::endl;
101 write(xml,
"version", version);
118 multi1d<LatticeColorMatrix> u_ape =
u;
122 QDPIO::cout <<
"APE Smear gauge field" << std::endl;
126 multi1d<LatticeColorMatrix> u_tmp(
Nd);
134 u_tmp[
mu] = u_ape[
mu];
138 QDPIO::cout <<
"Gauge field APE-smeared!" << std::endl;
Primary include file for CHROMA library code.
void operator()(multi1d< LatticeColorMatrix > &u) const
Smear the links.
Base class for link smearing.
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 APE_Smear(const multi1d< LatticeColorMatrix > &u, LatticeColorMatrix &u_smear, int mu, int bl_level, const Real &sm_fact, const Real &BlkAccu, int BlkMax, int j_decay)
Construct APE smeared links from:
Factory for producing link smearing objects.
std::string getName()
Return the name.
bool registerAll()
Register all the factories.
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.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
Params for APE link smearing.
void writeXML(XMLWriter &in, const std::string &path) const
Parameters for running code.