|
CHROMA
|
Main code for propagator generation. 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 |
Typedefs | |
| typedef stag_src_enum | stag_src_type |
Enumerations | |
| enum | stag_src_enum { LOCAL_SRC , FUZZED_SRC , GAUGE_INVAR_LOCAL_SOURCE , NOISY_LOCAL_SOURCE , LOAD_IN_SOURCE , LOCAL_SRC , FUZZED_SRC , GAUGE_INVAR_LOCAL_SOURCE , LOCAL_SRC , FUZZED_SRC , GAUGE_INVAR_LOCAL_SOURCE } |
Functions | |
| void | read (XMLReader &xml, const std::string &path, Prop_t &input) |
| void | read (XMLReader &xml, const std::string &path, Propagator_input_t &input) |
| stag_src_type | get_stag_src (XMLReader &xml, const std::string &path) |
| void | ks_compute_baryon (std::string name, LatticeStaggeredPropagator &quark_propagator, XMLFileWriter &xml_out, int j_decay, int tlength) |
| void | ks_compute_baryon (std::string name, LatticeStaggeredPropagator &quark_propagator_a, LatticeStaggeredPropagator &quark_propagator_b, LatticeStaggeredPropagator &quark_propagator_c, XMLFileWriter &xml_out, int j_decay, int tlength) |
| int | ks_compute_quark_propagator (LatticeStaggeredFermion &psi, stag_src_type type_of_src, int fuzz_width, multi1d< LatticeColorMatrix > &u, multi1d< LatticeColorMatrix > &u_smr, Handle< const SystemSolver< LatticeStaggeredFermion > > &qprop, XMLFileWriter &xml_out, Real RsdCG, Real Mass, int j_decay, int src_ind, int color_source) |
| void | write_smearing_info (std::string name, stag_src_type type_of_src, XMLFileWriter &xml_out, int fuzz_width) |
| int | main (int argc, char **argv) |
Main code for propagator generation.
Start to add fuzzed source to the staggered project.
Definition in file t_propagator_fuzz_baryon_s.cc.
| #define MAIN |
Definition at line 11 of file t_propagator_fuzz_baryon_s.cc.
| typedef stag_src_enum stag_src_type |
Definition at line 199 of file t_propagator_fuzz_baryon_s.cc.
| enum stag_src_enum |
| Enumerator | |
|---|---|
| LOCAL_SRC | |
| FUZZED_SRC | |
| GAUGE_INVAR_LOCAL_SOURCE | |
| NOISY_LOCAL_SOURCE | |
| LOAD_IN_SOURCE | |
| LOCAL_SRC | |
| FUZZED_SRC | |
| GAUGE_INVAR_LOCAL_SOURCE | |
| LOCAL_SRC | |
| FUZZED_SRC | |
| GAUGE_INVAR_LOCAL_SOURCE | |
Definition at line 198 of file t_propagator_fuzz_baryon_s.cc.
| stag_src_type get_stag_src | ( | XMLReader & | xml, |
| const std::string & | path | ||
| ) |
Definition at line 206 of file t_propagator_fuzz_baryon_s.cc.
References FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE, LOCAL_SRC, and read().
| void ks_compute_baryon | ( | std::string | name, |
| LatticeStaggeredPropagator & | quark_propagator, | ||
| XMLFileWriter & | xml_out, | ||
| int | j_decay, | ||
| int | tlength | ||
| ) |
Definition at line 697 of file t_propagator_fuzz_baryon_s.cc.
References Chroma::baryon_s(), bc_spec, coord(), j_decay, Chroma::AsqtadFermActEnv::name, Nd, and Chroma::write().
Referenced by main().
| void ks_compute_baryon | ( | std::string | name, |
| LatticeStaggeredPropagator & | quark_propagator_a, | ||
| LatticeStaggeredPropagator & | quark_propagator_b, | ||
| LatticeStaggeredPropagator & | quark_propagator_c, | ||
| XMLFileWriter & | xml_out, | ||
| int | j_decay, | ||
| int | tlength | ||
| ) |
Definition at line 724 of file t_propagator_fuzz_baryon_s.cc.
References Chroma::baryon_s(), bc_spec, coord(), j_decay, Chroma::AsqtadFermActEnv::name, Nd, and Chroma::write().
| int ks_compute_quark_propagator | ( | LatticeStaggeredFermion & | psi, |
| stag_src_type | type_of_src, | ||
| int | fuzz_width, | ||
| multi1d< LatticeColorMatrix > & | u, | ||
| multi1d< LatticeColorMatrix > & | u_smr, | ||
| Handle< const SystemSolver< LatticeStaggeredFermion > > & | qprop, | ||
| XMLFileWriter & | xml_out, | ||
| Real | RsdCG, | ||
| Real | Mass, | ||
| int | j_decay, | ||
| int | src_ind, | ||
| int | color_source | ||
| ) |
Definition at line 747 of file t_propagator_fuzz_baryon_s.cc.
References coord(), Chroma::fuzz_smear(), FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE, j_decay, LOCAL_SRC, Mass, n_count, Nd, pop(), Chroma::PropIndexTodelta(), psi, push(), Chroma::RsdCG, Chroma::shiftDeltaPropCov(), Chroma::srcfil(), Chroma::u, Chroma::write(), and Chroma::zero.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 287 of file t_propagator_fuzz_baryon_s.cc.
References Chroma::APE_Smear(), Param_t::boundary, Propagator_input_t::cfg, Chroma::coulGauge(), Chroma::FermToProp(), Chroma::finalize(), FORWARD, Chroma::fuzz_smear(), FUZZED_SRC, Chroma::gaugeStartup(), Chroma::gaussian(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Param_t::GFAccu, Param_t::GFMax, i, Chroma::initialize(), Param_t::invParam, j_decay, ks_compute_baryon(), ks_compute_quark_propagator(), LOCAL_SRC, Param_t::Mass, MesPlq(), mu, Nd, Param_t::nrow, Param_t::OrPara, Propagator_input_t::param, pop(), psi, push(), read(), Chroma::readXMLGroup(), Chroma::reunit(), Chroma::SysSolverCGParams::RsdCG, Chroma::S_f, Chroma::state, t_source, Chroma::u, Param_t::u0, Chroma::unitarityCheck(), Chroma::write(), write_smearing_info(), and Chroma::zero.
| void read | ( | XMLReader & | xml, |
| const std::string & | path, | ||
| Prop_t & | input | ||
| ) |
Definition at line 76 of file t_propagator_fuzz_baryon_s.cc.
References Prop_t::prop_file.
Referenced by get_stag_src(), main(), and read().
| void read | ( | XMLReader & | xml, |
| const std::string & | path, | ||
| Propagator_input_t & | input | ||
| ) |
Definition at line 87 of file t_propagator_fuzz_baryon_s.cc.
References Param_t::boundary, Propagator_input_t::cfg, Chroma::FERM_TYPE_STAGGERED, Param_t::FermTypeP, Param_t::GFAccu, Param_t::GFMax, Param_t::invParam, Propagator_input_t::io_version, Param_t::Mass, Chroma::SysSolverCGParams::MaxCG, Param_t::nrow, Param_t::OrPara, Propagator_input_t::param, Propagator_input_t::prop, Chroma::QDP_error_exit(), read(), Chroma::SysSolverCGParams::RsdCG, Param_t::t_srce, Param_t::u0, and Chroma::IO_version_t::version.
| void write_smearing_info | ( | std::string | name, |
| stag_src_type | type_of_src, | ||
| XMLFileWriter & | xml_out, | ||
| int | fuzz_width | ||
| ) |
Definition at line 839 of file t_propagator_fuzz_baryon_s.cc.
References FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE, LOCAL_SRC, Chroma::AsqtadFermActEnv::name, pop(), push(), and Chroma::write().
Referenced by main().