CHROMA
|
Main code for staggered charmed baryons. More...
#include <iostream>
#include <cstdio>
#include "chroma.h"
#include "meas/hadron/stag_propShift_s.h"
#include "meas/hadron/pion_local_s.h"
#include "io/xml_group_reader.h"
#include "meas/hadron/baryon_s.h"
#include "qdp_util.h"
Go to the source code of this file.
Classes | |
struct | Param_t |
Parameters for running program. More... | |
struct | Propagator_input_t |
Macros | |
#define | MAIN |
Enumerations | |
enum | staggered_src_type { local_s , wall_s , wall_o , wall_q , wall_o_and_q , local_o , local_q , local_o_and_q } |
Functions | |
void | read (XMLReader &xml, const std::string &path, Propagator_input_t &input) |
bool | linkageHack (void) |
void | dump_text_src (LatticeStaggeredFermion psi, multi1d< int > nrow) |
void | walfil_q (LatticeStaggeredFermion &a, int slice, int mu, int color_index) |
void | walfil_o (LatticeStaggeredFermion &a, int slice, int mu, int color_index) |
void | srcfil_local_o (LatticeStaggeredFermion &a, int slice, int mu, int color_index) |
void | srcfil_local_q (LatticeStaggeredFermion &a, int slice, int mu, int color_index) |
void | create_stagg_source (LatticeStaggeredFermion &q_source, staggered_src_type src_type, int color_source, int j_decay, int t_source) |
int | main (int argc, char **argv) |
Main code for staggered charmed baryons.
This code is a wrapper for the calculation of staggered charmed baryons.
Definition in file t_stagg_baryon.cc.
#define MAIN |
Definition at line 12 of file t_stagg_baryon.cc.
enum staggered_src_type |
Enumerator | |
---|---|
local_s | |
wall_s | |
wall_o | |
wall_q | |
wall_o_and_q | |
local_o | |
local_q | |
local_o_and_q |
Definition at line 24 of file t_stagg_baryon.cc.
void create_stagg_source | ( | LatticeStaggeredFermion & | q_source, |
staggered_src_type | src_type, | ||
int | color_source, | ||
int | j_decay, | ||
int | t_source | ||
) |
Definition at line 422 of file t_stagg_baryon.cc.
References coord(), j_decay, local_q, local_s, Chroma::srcfil(), srcfil_local_o(), srcfil_local_q(), t_source, Chroma::walfil(), walfil_o(), walfil_q(), wall_q, wall_s, and Chroma::zero.
Referenced by main().
void dump_text_src | ( | LatticeStaggeredFermion | psi, |
multi1d< int > | nrow | ||
) |
Definition at line 206 of file t_stagg_baryon.cc.
References coord(), Chroma::InlineEigenBinLimeColVecReadNamedObjEnv::coords(), Chroma::i, Chroma::psi, and z.
bool linkageHack | ( | void | ) |
Definition at line 190 of file t_stagg_baryon.cc.
References Chroma::StaggeredTypeFermActsEnv::registerAll(), Chroma::InlineAggregateEnv::registerAll(), and Chroma::GaugeInitEnv::registerAll().
int main | ( | int | argc, |
char ** | argv | ||
) |
do inversions
DEBUG ** dump_text_src(q_source,input.param.nrow) ; exit(0) ;
Definition at line 476 of file t_stagg_baryon.cc.
References Chroma::baryon_class4_s(), Chroma::baryon_class7_NLT_s(), Chroma::baryon_class7_s(), Chroma::baryon_s(), Propagator_input_t::cfg, Chroma::staggered_local_pion::compute(), coord(), create_stagg_source(), Chroma::FermionAction< T, P, Q >::createState(), Chroma::staggered_hadron_corr::dump(), Param_t::fermact, Param_t::fermact_A, Chroma::FermToProp(), Chroma::finalize(), Param_t::gauge_trans, Chroma::gaugeStartup(), Chroma::StaggeredTypeFermAct< T, P, Q >::getQuarkMass(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Chroma::GroupXML_t::id, Chroma::initialize(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Param_t::invParam, j_decay, Chroma::linkageHack(), local_q, Chroma::Mass, Chroma::MesPlq(), Chroma::n_count, Chroma::SystemSolverResults_t::n_count, Nd, Param_t::nrow, Propagator_input_t::param, Chroma::GroupXML_t::path, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::FermAct4D< T, P, Q >::qprop(), Chroma::read(), Chroma::readXMLGroup(), Chroma::SystemSolverResults_t::resid, Chroma::rgauge(), Chroma::SysSolverCGParams::RsdCG, Chroma::S_f, Param_t::src_type, Param_t::src_type_str, Chroma::state, t_source, Param_t::t_srce, Chroma::u, Chroma::unitarityCheck(), wall_q, Chroma::write(), Chroma::GroupXML_t::xml, and Chroma::zero.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Propagator_input_t & | input | ||
) |
Definition at line 74 of file t_stagg_baryon.cc.
References Propagator_input_t::cfg, Param_t::fermact, Param_t::fermact_A, Param_t::gauge_trans, Param_t::invParam, local_q, local_s, Chroma::SysSolverCGParams::MaxCG, Chroma::SysSolverCGParams::MinCG, Param_t::nrow, Propagator_input_t::param, Chroma::read(), Chroma::readXMLGroup(), Chroma::SysSolverCGParams::RsdCG, Param_t::src_type, Param_t::src_type_str, Param_t::t_srce, wall_q, and wall_s.
void srcfil_local_o | ( | LatticeStaggeredFermion & | a, |
int | slice, | ||
int | mu, | ||
int | color_index | ||
) |
Definition at line 326 of file t_stagg_baryon.cc.
References Chroma::a, coord(), Chroma::one, and Chroma::zero.
Referenced by create_stagg_source().
void srcfil_local_q | ( | LatticeStaggeredFermion & | a, |
int | slice, | ||
int | mu, | ||
int | color_index | ||
) |
Definition at line 377 of file t_stagg_baryon.cc.
References Chroma::a, coord(), Chroma::one, and Chroma::zero.
Referenced by create_stagg_source().
void walfil_o | ( | LatticeStaggeredFermion & | a, |
int | slice, | ||
int | mu, | ||
int | color_index | ||
) |
Definition at line 285 of file t_stagg_baryon.cc.
References Chroma::a, Chroma::END_CODE(), mu, Nd, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::tmp, x, and Chroma::zero.
Referenced by create_stagg_source().
void walfil_q | ( | LatticeStaggeredFermion & | a, |
int | slice, | ||
int | mu, | ||
int | color_index | ||
) |
Definition at line 241 of file t_stagg_baryon.cc.
References Chroma::a, Chroma::END_CODE(), mu, Nd, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::tmp, x, and Chroma::zero.
Referenced by create_stagg_source().