CHROMA
|
Main code for generation of disconnected loops. More...
Go to the source code of this file.
Classes | |
struct | Param_t |
Parameters for running program. More... | |
struct | Prop_t |
Propagators. More... | |
struct | Propagator_input_t |
Macros | |
#define | MAIN |
Enumerations | |
enum | GaugeStartType { HOT_START = 0 , COLD_START = 1 , FILE_START_NERSC = 2 , COLD_START =0 , HOT_START , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 , FILE_START_NERSC = 2 } |
Functions | |
void | loops (const LatticeFermion &q_source, const LatticeFermion &psi, int length, XMLWriter &xml_gamma, const std::string &xml_tag) |
void | z2_src (LatticeFermion &a) |
void | z2_src (LatticeFermion &a, int slice, int mu) |
void | read (XMLReader &xml, const std::string &path, Prop_t &input) |
void | read (XMLReader &xml, const std::string &path, Propagator_input_t &input) |
int | main (int argc, char **argv) |
Main code for generation of disconnected loops.
This version is for Wilson fermions. This code should work for su3 or su4.
I don't fully understand the conventions for kappa values and masses. I will figure this out when I compare against the UKQCD code.
Definition in file t_fermion_loop_w.cc.
#define MAIN |
Definition at line 16 of file t_fermion_loop_w.cc.
enum GaugeStartType |
Definition at line 26 of file t_fermion_loop_w.cc.
void loops | ( | const LatticeFermion & | q_source, |
const LatticeFermion & | psi, | ||
int | length, | ||
XMLWriter & | xml_gamma, | ||
const std::string & | xml_tag | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 250 of file t_fermion_loop_w.cc.
References Param_t::boundary, Propagator_input_t::cfg, Chroma::Cfg_t::cfg_file, Param_t::cfg_type, FILE_START_NERSC, Chroma::finalize(), FORWARD, Chroma::gaussian(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), HOT_START, Chroma::initialize(), Param_t::invParam, j_decay, Chroma::loops(), Param_t::Mass, Chroma::MesPlq(), Chroma::n_count, Chroma::SystemSolverResults_t::n_count, Nd, Param_t::nrow, Param_t::number_sample, Propagator_input_t::param, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::QDP_error_exit(), Chroma::read(), Chroma::readXMLGroup(), Chroma::reunit(), Chroma::SysSolverCGParams::RsdCG, Chroma::S_f, Chroma::state, Chroma::u, Chroma::unitarityCheck(), Chroma::write(), Chroma::z2_src(), and Chroma::zero.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Prop_t & | input | ||
) |
Definition at line 84 of file t_fermion_loop_w.cc.
References Prop_t::prop_file, and Chroma::read().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Propagator_input_t & | input | ||
) |
Definition at line 95 of file t_fermion_loop_w.cc.
References Param_t::boundary, Propagator_input_t::cfg, Param_t::cfg_type, COLD_START, Chroma::FERM_TYPE_WILSON, Param_t::FermTypeP, FILE_START_NERSC, HOT_START, Chroma::i, Param_t::invParam, Propagator_input_t::io_version, Param_t::Mass, Chroma::SysSolverCGParams::MaxCG, Param_t::nrow, Param_t::number_sample, Propagator_input_t::param, Propagator_input_t::prop, Param_t::prop_type, Chroma::PROP_TYPE_SZIN, Chroma::QDP_error_exit(), Chroma::read(), Chroma::SysSolverCGParams::RsdCG, Param_t::t_srce, Param_t::u0, and Chroma::IO_version_t::version.
void z2_src | ( | LatticeFermion & | a | ) |
void z2_src | ( | LatticeFermion & | a, |
int | slice, | ||
int | mu | ||
) |