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 | saveComponents (const ChromaMultiProp_t ¶m, const Prop_t &prop, XMLReader &source_record_xml, const Component_t &component, XMLReader &gauge_xml, XMLWriter &xml_out, const multi1d< LatticeFermion > &psi) |
int | main (int argc, char **argv) |
Main code for propagator generation.
Definition in file multi_propagator_comp.cc.
#define MRES_CALCULATION |
Definition at line 15 of file multi_propagator_comp.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 129 of file multi_propagator_comp.cc.
References 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::MesPlq(), Chroma::ChromaMultiProp_t::MultiMasses, Chroma::n_count, Nd, PropagatorComponent_input_t::param, Chroma::pop(), Chroma::proginfo(), PropagatorComponent_input_t::prop, Chroma::PropToFerm(), Chroma::psi, Chroma::push(), Chroma::read(), Chroma::readQprop(), Chroma::S_f, saveComponents(), Prop_t::source_file, Chroma::START_CODE(), Chroma::state, 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 multi_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 multi_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 multi_propagator_comp.cc.
References PropagatorComponent_input_t::cfg, PropagatorComponent_input_t::components, PropagatorComponent_input_t::param, PropagatorComponent_input_t::prop, and Chroma::read().
void saveComponents | ( | const ChromaMultiProp_t & | param, |
const Prop_t & | prop, | ||
XMLReader & | source_record_xml, | ||
const Component_t & | component, | ||
XMLReader & | gauge_xml, | ||
XMLWriter & | xml_out, | ||
const multi1d< LatticeFermion > & | psi | ||
) |
Definition at line 369 of file multi_propagator_comp.cc.
References Component_t::color, Chroma::END_CODE(), Chroma::finalize(), Chroma::SftMom::getSet(), m, Chroma::ChromaMultiProp_t::MultiMasses, 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 multi_propagator_comp.cc.
References Component_t::color, Chroma::pop(), Chroma::push(), Component_t::spin, and Chroma::write().