CHROMA
|
Main code for propagator generation. More...
Go to the source code of this file.
Classes | |
struct | Prop_t |
Propagators. More... | |
struct | Component_t |
struct | PropagatorComponent_input_t |
Macros | |
#define | MRES_CALCULATION |
Functions | |
void | read (XMLReader &xml, const std::string &path, Component_t &comp) |
void | write (XMLWriter &xml, const std::string &path, const Component_t &comp) |
void | read (XMLReader &xml, const std::string &path, Prop_t &input) |
void | read (XMLReader &xml, const std::string &path, PropagatorComponent_input_t &input) |
void | saveComponent (const ChromaProp_t ¶m, const Prop_t &prop, XMLReader &source_record_xml, const Component_t &component, XMLReader &gauge_xml, XMLWriter &xml_out, const LatticeFermion &psi, bool make_sourceP, bool seqsourceP) |
int | main (int argc, char **argv) |
Main code for propagator generation.
Definition in file propagator_comp.cc.
#define MRES_CALCULATION |
Definition at line 15 of file propagator_comp.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 131 of file propagator_comp.cc.
References Chroma::WilsonFermActParams::anisoParam, PropagatorComponent_input_t::cfg, Chroma::chi(), PropagatorComponent_input_t::components, Chroma::END_CODE(), Chroma::gaugeStartup(), Chroma::SftMom::getSet(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Chroma::i, Chroma::initialize(), Chroma::ChromaMultiProp_t::invParam, Chroma::PropSourceConst_t::j_decay, j_decay, Chroma::WilsonFermActParams::Mass, Chroma::MesPlq(), Chroma::n_count, Nd, PropagatorComponent_input_t::param, Chroma::pop(), Chroma::proginfo(), PropagatorComponent_input_t::prop, prop_header, Chroma::PropToFerm(), Chroma::psi, Chroma::push(), Chroma::OverlapFermActBase::qprop(), Chroma::read(), Chroma::readQprop(), Chroma::S_f, saveComponent(), Prop_t::source_file, Chroma::START_CODE(), Chroma::state, t0, Chroma::SeqSource_t::t_sink, Chroma::PropSourceConst_t::t_source, Chroma::u, Chroma::unitarityCheck(), Chroma::write(), and Chroma::zero.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Component_t & | comp | ||
) |
Definition at line 42 of file propagator_comp.cc.
References Component_t::color, Chroma::read(), and Component_t::spin.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Prop_t & | input | ||
) |
Definition at line 77 of file propagator_comp.cc.
References Prop_t::prop_file, Prop_t::prop_volfmt, Chroma::read(), and Prop_t::source_file.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
PropagatorComponent_input_t & | input | ||
) |
Definition at line 88 of file propagator_comp.cc.
References PropagatorComponent_input_t::cfg, PropagatorComponent_input_t::components, PropagatorComponent_input_t::param, PropagatorComponent_input_t::prop, and Chroma::read().
void saveComponent | ( | const ChromaProp_t & | param, |
const Prop_t & | prop, | ||
XMLReader & | source_record_xml, | ||
const Component_t & | component, | ||
XMLReader & | gauge_xml, | ||
XMLWriter & | xml_out, | ||
const LatticeFermion & | psi, | ||
bool | make_sourceP, | ||
bool | seqsourceP | ||
) |
Definition at line 542 of file propagator_comp.cc.
References Component_t::color, Chroma::END_CODE(), Chroma::finalize(), Chroma::SftMom::getSet(), Nd, Chroma::pop(), prop, Chroma::psi, Chroma::push(), Component_t::spin, Chroma::START_CODE(), Chroma::write(), and Chroma::writeFermion().
Referenced by main().
void write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const Component_t & | comp | ||
) |
Definition at line 64 of file propagator_comp.cc.
References Component_t::color, Chroma::pop(), Chroma::push(), Component_t::spin, and Chroma::write().