28 namespace PhaseStoutLinkSmearingEnv
65 XMLReader paramtop(xml, path);
66 read(paramtop,
"k",
k);
77 write(xml,
"version", version);
95 for(
int d(0);
d<
Nd;
d++)
98 QDPIO::cout<<
" Adding phase to direction: "<<
d<<std::endl ;
99 Real f =
twopi / Real(Layout::lattSize()[
d])*
101 Complex
c = cmplx(cos(f),sin(f)) ;
102 QDPIO::cout<<
" exp(i*phase)= "<<
c<<std::endl ;
103 QDPIO::cout<<
" 2*pi= "<<
twopi<<std::endl ;
Primary include file for CHROMA library code.
Base class for link smearing.
void operator()(multi1d< LatticeColorMatrix > &u) const
Smear the links.
Params for Stout link smearing.
void writeXML(XMLWriter &in, const std::string &path) const
Parameters for running code.
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.
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.
bool registerAll()
Register all the factories.
std::string getName()
Return the name.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
multi1d< bool > smear_dirs