CHROMA
|
Main program for computing 3pt functions with a wall sink. More...
#include "chroma.h"
Go to the source code of this file.
Classes | |
struct | Prop_t |
Propagators. More... | |
struct | Param_t |
Parameters for running program. More... | |
struct | WallFormFac_input_t |
struct | WallFormFac_bar_t |
struct | WallFormFac_output_t |
Enumerations | |
enum | WallFormFacType { WALLFF_PION , WALLFF_RHO , WALLFF_RHO_PI , WALLFF_NUCL , WALLFF_NUCL_CT , WALLFF_DELTA , WALLFF_DELTA_P } |
Wall-Formfactor type. More... | |
Functions | |
void | read (XMLReader &xml, const std::string &path, WallFormFacType ¶m) |
Read a Wall-formfactor enum. More... | |
void | write (XMLWriter &xml, const std::string &path, const WallFormFacType ¶m) |
Write a Wall-formfactor enum. More... | |
void | read (XMLReader &xml, const std::string &path, Prop_t &input) |
Propagator filenames. More... | |
void | read (XMLReader &xml, const std::string &path, Param_t ¶m) |
Parameter input. More... | |
void | read (XMLReader &xml, const std::string &path, WallFormFac_input_t &input) |
void | write (BinaryWriter &bin, const WallFormFac_bar_t &header) |
WallFormFac writer. More... | |
void | write (BinaryWriter &bin, const WallFormFac_output_t &header) |
WallFormFac writer. More... | |
int | main (int argc, char *argv[]) |
Main program for computing 3pt functions with a wall sink.
Main program for computing 3pt functions with a wall sink
Definition in file wallformfac.cc.
enum WallFormFacType |
Wall-Formfactor type.
Enumerator | |
---|---|
WALLFF_PION | |
WALLFF_RHO | |
WALLFF_RHO_PI | |
WALLFF_NUCL | |
WALLFF_NUCL_CT | |
WALLFF_DELTA | |
WALLFF_DELTA_P |
Definition at line 17 of file wallformfac.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 225 of file wallformfac.cc.
References Prop_t::backprop_file, WallFormFac_output_t::bar, WallFormFac_input_t::cfg, Chroma::END_CODE(), Chroma::finalize(), Param_t::formfac_type, Prop_t::forwprop_file, Chroma::gaugeStartup(), Chroma::SftMom::getSet(), Chroma::PropSourceConst_t::getTSrce(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Chroma::i, Chroma::GroupXML_t::id, Chroma::initialize(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::PropSourceConst_t::j_decay, j_decay, Chroma::MesPlq(), Param_t::mom2_max, WallFormFac_output_t::mom2_max, Nd, Param_t::nrow, WallFormFac_output_t::nrow, WallFormFac_output_t::out_version, WallFormFac_input_t::param, Chroma::GroupXML_t::path, Chroma::pop(), Chroma::proginfo(), WallFormFac_input_t::prop, Chroma::push(), Chroma::read(), Chroma::readQprop(), Chroma::PropSourceConst_t::source, Chroma::START_CODE(), sum, Chroma::PropSourceConst_t::t_source, t_source, Chroma::u, Chroma::unitarityCheck(), Param_t::wall_source, WallFormFac_output_t::wall_source, Chroma::wallDeltaFormFac(), Chroma::wallDeltaPFormFac(), WALLFF_DELTA, WALLFF_DELTA_P, WALLFF_NUCL, WALLFF_NUCL_CT, WALLFF_PION, WALLFF_RHO, WALLFF_RHO_PI, Chroma::wallNuclFormFac(), Chroma::wallPionFormFac(), Chroma::wallRhoFormFac(), Chroma::wallRhoPiFormFac(), Chroma::write(), and Chroma::GroupXML_t::xml.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Param_t & | param | ||
) |
Parameter input.
Definition at line 141 of file wallformfac.cc.
References Param_t::formfac_type, Param_t::mom2_max, Param_t::nrow, Chroma::read(), and Param_t::wall_source.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Prop_t & | input | ||
) |
Propagator filenames.
Definition at line 131 of file wallformfac.cc.
References Prop_t::backprop_file, Prop_t::forwprop_file, and Chroma::read().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
WallFormFac_input_t & | input | ||
) |
Definition at line 175 of file wallformfac.cc.
References WallFormFac_input_t::cfg, WallFormFac_input_t::param, WallFormFac_input_t::prop, Chroma::QDP_error_exit(), and Chroma::read().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
WallFormFacType & | param | ||
) |
Read a Wall-formfactor enum.
Definition at line 77 of file wallformfac.cc.
References Chroma::read(), WALLFF_DELTA, WALLFF_DELTA_P, WALLFF_NUCL, WALLFF_NUCL_CT, WALLFF_PION, WALLFF_RHO, and WALLFF_RHO_PI.
void write | ( | BinaryWriter & | bin, |
const WallFormFac_bar_t & | header | ||
) |
WallFormFac writer.
Definition at line 199 of file wallformfac.cc.
References WallFormFac_bar_t::formfac_type, WallFormFac_bar_t::formfac_value, WallFormFac_bar_t::formfacs, and Chroma::write().
void write | ( | BinaryWriter & | bin, |
const WallFormFac_output_t & | header | ||
) |
WallFormFac writer.
Definition at line 207 of file wallformfac.cc.
References WallFormFac_output_t::bar, WallFormFac_output_t::mom2_max, WallFormFac_output_t::nrow, WallFormFac_output_t::out_version, WallFormFac_output_t::wall_source, and Chroma::write().
void write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const WallFormFacType & | param | ||
) |
Write a Wall-formfactor enum.
Definition at line 104 of file wallformfac.cc.
References WALLFF_DELTA, WALLFF_DELTA_P, WALLFF_NUCL, WALLFF_NUCL_CT, WALLFF_PION, WALLFF_RHO, WALLFF_RHO_PI, and Chroma::write().