15 int main(
int argc,
char *argv[])
21 const int foo[] = {4,4,4,4};
25 multi1d<int> nrow(
Nd);
27 Layout::setLattSize(nrow);
30 XMLFileWriter xml(
"t_wilslp.xml");
31 push(xml,
"t_wilslp");
36 write(xml,
"nrow",nrow);
41 multi1d<LatticeColorMatrix>
u(
Nd);
53 gaugeFilename=
"../../tests/t_asqtad_prop/t_nersc.cfg";
57 QDPIO::cout <<
"Reading config: " << gaugeFilename << std::endl;
58 readArchiv(gauge_xml,
u, gaugeFilename);
61 for(
int m=0;
m <
u.size(); ++
m)
69 QDPIO::cout <<
"Measure the plaquette and link " << std::endl;
77 double time_in_sec = swatch.getTimeInSeconds();
79 QDPIO::cout <<
"w_plaq = " <<
w_plaq << std::endl;
80 QDPIO::cout <<
"s_plaq = " <<
s_plaq << std::endl;
81 QDPIO::cout <<
"t_plaq = " <<
t_plaq << std::endl;
82 QDPIO::cout <<
"link = " <<
link << std::endl;
84 QDPIO::cout <<
"Measurement took " << time_in_sec
85 <<
" secs" << std::endl;
88 push(xml,
"observables");
94 QDPIO::cout <<
"Measure Wilson loops" << std::endl;
117 xml,
"Fuzzed_Wilson_Loops");
120 time_in_sec = swatch.getTimeInSeconds();
121 QDPIO::cout <<
"Loop measurements complete" << std::endl;
122 QDPIO::cout <<
"Measurement took " << time_in_sec
123 <<
" secs" << std::endl;
Primary include file for CHROMA in application codes.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void wilslp(const multi1d< LatticeColorMatrix > &u, int j_decay, int t_dir, int kind, XMLWriter &xml, const std::string &xml_group)
Calculate Wilson loops.
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[])