5 #error "Not tested (or even compiled). However, reasonably well converted."
13 #include "meas/glue/topol.h"
94 multi1d<LatticeColorMatrix> u_tmp(
Nd);
95 multi1d<LatticeColorMatrix> u_sm(
Nd);
97 multi1d<DComplex> pollp(
Nd);
119 for(
int n_loop = 1; n_loop <= NumItr; ++n_loop)
121 TotalItr = TotalItr + 1;
122 int ItrNumber = TotalItr;
125 push(xml_out,
"NewIteration");
126 write(xml_out,
"ItrNumber", ItrNumber);
131 #warning "NEED MORE GENERAL SET USAGE HERE"
132 mciter(
u, NOver, NHeat, NumTry, NumFail, rb, neighsubl);
136 if ((TotalItr % MesItr) == 0 )
144 push(xml_out,
"obsvbl1");
145 write(xml_out,
"TotalItr", TotalItr);
150 write(xml_out,
"pollp", pollp);
152 push(xml_out,
"obsvbl2");
153 write(xml_out,
"NumTry", NumTry);
154 write(xml_out,
"NumFail", NumFail);
158 fuzglue (
u, t_dir, BlkAccu, BlkMax);
160 if ( WilsonP ==
YES )
164 if ((TotalItr & MesItr*PrtMes) == 0)
166 FPRINTF(trm_out,
"\n Heatbath acceptance =%14.7g\n",
167 TO_REAL(NumTry-NumFail)/TO_REAL(NumTry));
173 if ((TotalItr & TopolItr) == 0)
184 if ((TotalItr & HQPotItr) == 0)
190 u_tmp[t_dir] = u_sm[t_dir];
193 for(
int i = 1;
i <= NumSmea; ++
i)
197 smear(u_sm, u_tmp[
mu],
mu, 0, FacSmea, BlkAccu, BlkMax, t_dir);
203 push(xml_out,
"Smeared_Wilson_Loops");
204 write(xml_out,
"NumSmea", NumSmea);
205 write(xml_out,
"FacSmea", FacSmea);
206 write(xml_out,
"t_dir", t_dir);
219 for(
int i = 1;
i <= NumSmea; ++
i)
223 smear(u_sm, u_tmp[
mu],
mu, 0, FacSmea, BlkAccu, BlkMax,
j_decay);
227 push(xml_out,
"Smeared_Wilson_Loops");
228 write(xml_out,
"NumSmea", NumSmea);
229 write(xml_out,
"FacSmea", FacSmea);
239 if ((TotalItr & GFixItr) == 0)
244 gfix(u_tmp,
Nd, GFAccu, GFMax, nrl_gf, ORlxDo, OrPara);
249 push(xml_out,
"EndIteration");
250 write(xml_out,
"ItrNumber", ItrNumber);
Primary include file for CHROMA library code.
Compute 'fuzzy' (blocked) glueball correlation functions.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void polylp(const multi1d< LatticeColorMatrixF3 > &u, DComplex &poly_loop, int mu)
Compute Polyakov loop.
void wilslp(const multi1d< LatticeColorMatrix > &u, int j_decay, int t_dir, int kind, XMLWriter &xml, const std::string &xml_group)
Calculate Wilson loops.
void fuzglue(XMLWriter &xml_out, const std::string &xml_group, const multi1d< LatticeColorMatrix > &u, int j_decay, const Real &BlkAccu, int BlkMax)
Compute 'fuzzy' (blocked) glueball correlation functions.
void mciter(multi1d< LatticeColorMatrix > &u, const LinearGaugeAction &S_g, const HBParams &hbp)
One heatbath interation of updating the gauge field configuration.
void monte(multi1d< LatticeColorMatrix > &u(Nd), int NOver, int NHeat, int j_decay, int GlueP, int WilsonP, int &NumTry, int &NumFail, int PrtMes, int MesItr, int NumItr, int TotalItr, int TopolP, int TopolItr, Real TopAccu, Real ActAccu, int NumTop, int NumCool, Real BlkAccu, int BlkMax, int HQPotP, int HQPotItr, Real FacSmea, int NumSmea, int GFixP, int GFixItr, int ORlxDo, Real OrPara,)
Routine for doing the hybrid (monte carlo) algorithm.
One heatbath interation of updating the gauge field configuration.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
void MesPlq(const multi1d< LatticeColorMatrixF3 > &u, multi2d< Double > &plane_plaq, Double &link)
FloatingPoint< double > Double