CHROMA
|
Converts quark propagators in one format into another format. More...
#include "chroma.h"
Go to the source code of this file.
Classes | |
struct | Param_t |
Parameters for running program. More... | |
struct | Prop_t |
Propagators. More... | |
struct | QpropTransf_input_t |
Enumerations | |
enum | SciDACPropType { SCIDAC_SOURCE , SCIDAC_PROP , SCIDAC_SEQSOURCE , SCIDAC_SEQPROP } |
Propagator type. More... | |
Functions | |
void | read (XMLReader &xml, const std::string &path, SciDACPropType ¶m) |
Read a SciDACPropType enum. More... | |
void | read (XMLReader &xml, const std::string &path, Prop_t &input) |
Propagator parameters. More... | |
void | read (XMLReader &xml, const std::string &path, Param_t ¶m) |
Parameters for running code. More... | |
void | read (XMLReader &xml, const std::string &path, QpropTransf_input_t &input) |
int | main (int argc, char *argv[]) |
Converts quark propagators in one format into another format.
Definition in file qproptransf.cc.
enum SciDACPropType |
Propagator type.
Enumerator | |
---|---|
SCIDAC_SOURCE | |
SCIDAC_PROP | |
SCIDAC_SEQSOURCE | |
SCIDAC_SEQPROP |
Definition at line 14 of file qproptransf.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 143 of file qproptransf.cc.
References Chroma::END_CODE(), Chroma::finalize(), Chroma::SftMom::getSet(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Chroma::initialize(), Nd, Param_t::nrow, QpropTransf_input_t::param, Chroma::pop(), Chroma::proginfo(), prop, QpropTransf_input_t::prop, Prop_t::prop_in_file, Prop_t::prop_in_type, Prop_t::prop_out_file, Prop_t::prop_out_type, Prop_t::prop_out_volfmt, Chroma::PROP_TYPE_KYU, Chroma::PROP_TYPE_SCIDAC, Chroma::PROP_TYPE_SZIN, Chroma::push(), Chroma::QDP_error_exit(), Chroma::read(), Chroma::readKYUQprop(), Chroma::readQprop(), Chroma::readSzinQprop(), SCIDAC_PROP, Prop_t::scidac_prop_type, SCIDAC_SEQPROP, SCIDAC_SEQSOURCE, SCIDAC_SOURCE, Chroma::START_CODE(), Chroma::write(), Chroma::writeQprop(), and Chroma::writeSzinQprop().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Param_t & | param | ||
) |
Parameters for running code.
Definition at line 88 of file qproptransf.cc.
References Param_t::nrow, and Chroma::read().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Prop_t & | input | ||
) |
Propagator parameters.
Definition at line 71 of file qproptransf.cc.
References Prop_t::prop_in_file, Prop_t::prop_in_type, Prop_t::prop_out_file, Prop_t::prop_out_type, Prop_t::prop_out_volfmt, Chroma::read(), and Prop_t::scidac_prop_type.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
QpropTransf_input_t & | input | ||
) |
Definition at line 115 of file qproptransf.cc.
References QpropTransf_input_t::param, QpropTransf_input_t::prop, and Chroma::read().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
SciDACPropType & | param | ||
) |
Read a SciDACPropType enum.
Definition at line 22 of file qproptransf.cc.
References Chroma::read(), SCIDAC_PROP, SCIDAC_SEQPROP, SCIDAC_SEQSOURCE, and SCIDAC_SOURCE.