55 int main(
int argc,
char** argv )
70 Layout::setLattSize(input.
param.nrow);
77 read(xml_in,
"/ExampleBuildingBlocks/Cfg", cfg);
81 QDP_error_exit(
"Error reading in ExampleBuildingBlocks: %s", e.c_str());
85 multi1d<LatticeColorMatrix>
u(
Nd);
86 XMLBufferWriter config_xml;
88 XMLReader gauge_file_xml, gauge_xml;
90 QDPIO::cout <<
"Initialize Gauge field" << std::endl;
92 QDPIO::cout <<
"Gauge field initialized!" << std::endl;
94 config_xml << gauge_xml;
103 unsigned long cur_update = 0;
104 meas(
u, config_xml, cur_update, xml_out);
int main(int argc, char **argv)
Primary include file for CHROMA in application codes.
Inline measurement of 3-pt functions writing building-blocks.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void unitarityCheck(const multi1d< LatticeColorMatrixF3 > &u)
Check the unitarity of color matrix in SU(N)
void gaugeStartup(XMLReader &gauge_file_xml, XMLReader &gauge_xml, multi1d< LatticeColorMatrix > &u, Cfg_t &cfg)
Initialize the gauge fields.
Asqtad Staggered-Dirac operator.
QDP_error_exit("too many BiCG iterations", n_count, rsd_sq, cp, c, re_rvr, im_rvr, re_a, im_a, re_b, im_b)
static multi1d< LatticeColorMatrix > u
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
void finalize(void)
Chroma finalization routine.
std::string getXMLInputFileName()
Get input file name.
XMLFileWriter & getXMLOutputInstance()
Get xml output instance.
Gauge configuration structure.
struct Chroma::InlineBuildingBlocksParams::Param_t param