9 int main(
int argc,
char *argv[])
15 const int foo[] = {4,4,4,8};
16 multi1d<int> nrow(
Nd);
18 Layout::setLattSize(nrow);
21 XMLFileWriter xml(
"t_mesplq.xml");
22 push(xml,
"t_mesplq");
27 write(xml,
"nrow", nrow);
32 multi1d<LatticeColorMatrix>
u(
Nd);
36 QDPIO::cout <<
"Start gaussian\n";
37 for(
int m=0;
m <
u.size(); ++
m)
41 for(
int m=0;
m <
u.size(); ++
m)
55 QDPIO::cout <<
"w_plaq = " <<
w_plaq << std::endl;
56 QDPIO::cout <<
"link = " <<
link << std::endl;
59 multi1d<DComplex> pollp(
Nd);
64 push(xml,
"Observables");
67 write(xml,
"pollp", pollp);
78 QDPIO::cout <<
"w_plaq = " <<
w_plaq << std::endl;
79 QDPIO::cout <<
"link = " <<
link << std::endl;
81 push(xml,
"Observables_after_gt");
84 write(xml,
"pollp", pollp);
Primary include file for CHROMA in application codes.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void unitarityCheck(const multi1d< LatticeColorMatrixF3 > &u)
Check the unitarity of color matrix in SU(N)
void rgauge(multi1d< LatticeColorMatrix > &u, LatticeColorMatrix &g)
Do a random gauge transformation on the u fields.
void polylp(const multi1d< LatticeColorMatrixF3 > &u, DComplex &poly_loop, int mu)
Compute Polyakov loop.
void readSzin(SzinGauge_t &header, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
Read a SZIN configuration file.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
void finalize(void)
Chroma finalization routine.
void reunit(LatticeColorMatrixF3 &xa)
void MesPlq(const multi1d< LatticeColorMatrixF3 > &u, multi2d< Double > &plane_plaq, Double &link)
FloatingPoint< double > Double
int main(int argc, char *argv[])