7 #include "meas/hadron/pions_follana_s.h"
13 int main(
int argc,
char *argv[])
18 XMLReader xml_in(
"input.xml");
28 multi1d<int> nrow(
Nd);
33 read(xml_in,
"/test/nrow", nrow);
34 read(xml_in,
"/test/propStem", filename_stem);
38 Layout::setLattSize(nrow);
41 QDPIO::cout <<
"Lattice: Lx = " << nrow[0] <<
" Ly = " << nrow[1] <<
" Lz = " << nrow[2]
42 <<
" Lt =" << nrow[3] << std::endl;
45 QDPIO::cout <<
"About to read propagators" << std::endl;
51 std::ostringstream istring;
54 filename = filename_stem + istring.str();;
55 QDPIO::cout <<
"Reading Propagator from file " << filename.c_str() << std::endl;
63 QDPIO::cout <<
"Computing the meaning of life..." << std::endl;
66 staggeredPionsFollana(props, pions,
Nd-1);
68 XMLFileWriter xml_out(
"output.xml");
70 push(xml_out,
"follanaIO");
72 std::ostringstream
tag;
75 write(xml_out,
"pions_i", pions[
i]);
81 QDPIO::cout <<
"That's all folks" << std::endl;
Primary include file for CHROMA in application codes.
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.
Asqtad Staggered-Dirac operator.
void readQpropFollana(char file[], LatticePropagator &quark_prop, bool swap)
push(xml_out,"Condensates")
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
void finalize(void)
Chroma finalization routine.
std::string tag(const std::string &prefix)
int main(int argc, char *argv[])