CHROMA
|
Main code for NRQCD 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 |
class | TimeSliceFunc |
Function object used for constructing the time-slice set. More... | |
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 | time_evolve (LatticeFermion &Gplus, const LatticeFermion &Gnow, int t) |
void | compute_nrqcd_prop (LatticeFermion &G, const LatticeFermion &Gsource, const multi1d< LatticeColorMatrix > &u, const Real Mass, int n, int nt) |
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) |
void | time_evolve (LatticeFermion &Gplus, const LatticeFermion &Gnow, const multi1d< LatticeColorMatrix > &u, int t) |
void | apply_lowest_ke (LatticeFermion &Gout, const LatticeFermion &Gin, const multi1d< LatticeColorMatrix > &u, const Real Mass, int t) |
Main code for NRQCD propagator generation.
This is a template program to help the Glasgow group impliment the NRQCD action to whatever order they want.
See Thacker and Lepage , PRD 43, 1991 ,196
To start this off I will just add in the additional code to this file. Eventally (but quickly), the fermion operator will be put in the appropriate place (whatever that is),
The NRQCD evolution equation is not a natural std::map to the chroma/qdp++ system. Apply the operators to the full lattice but only look at a specific time slice, using the set notation.
For NRQCD code need the field strength (and derivatives# of.
This code needs to be converted from SZIN. ./actions/ferm/fermacts/prec_clover_fermact_w.cc
LATTICE_FIELD_STRENGTH(f); To get at MesField (u, f);
Definition in file t_propagator_nrqcd.cc.
#define MAIN |
Definition at line 39 of file t_propagator_nrqcd.cc.
enum GaugeStartType |
Definition at line 61 of file t_propagator_nrqcd.cc.
void apply_lowest_ke | ( | LatticeFermion & | Gout, |
const LatticeFermion & | Gin, | ||
const multi1d< LatticeColorMatrix > & | u, | ||
const Real | Mass, | ||
int | t | ||
) |
Definition at line 516 of file t_propagator_nrqcd.cc.
References Chroma::displacement(), Chroma::Mass, t, Chroma::tmp, and Chroma::u.
Referenced by compute_nrqcd_prop().
void compute_nrqcd_prop | ( | LatticeFermion & | G, |
const LatticeFermion & | Gsource, | ||
const multi1d< LatticeColorMatrix > & | u, | ||
const Real | Mass, | ||
int | n, | ||
int | nt | ||
) |
Definition at line 570 of file t_propagator_nrqcd.cc.
References apply_lowest_ke(), Chroma::i, Chroma::Mass, n, t, time_evolve(), and Chroma::u.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 261 of file t_propagator_nrqcd.cc.
References Param_t::boundary, Propagator_input_t::cfg, Chroma::Cfg_t::cfg_file, Param_t::cfg_type, COLD_START, compute_nrqcd_prop(), coord(), Chroma::FermToProp(), FILE_START_NERSC, Chroma::finalize(), FORWARD, Chroma::gaussian(), Chroma::getXMLOutputInstance(), HOT_START, Chroma::initialize(), j, j_decay, Param_t::Mass, Chroma::mesons(), Chroma::MesPlq(), Chroma::n_count, Nd, Param_t::nrow, Propagator_input_t::param, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::QDP_error_exit(), Chroma::read(), Chroma::reunit(), Chroma::S_f, Chroma::srcfil(), Chroma::state, t0, t_source, Chroma::u, Chroma::unitarityCheck(), Chroma::write(), and Chroma::zero.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Prop_t & | input | ||
) |
Definition at line 107 of file t_propagator_nrqcd.cc.
References Prop_t::prop_file, and Chroma::read().
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Propagator_input_t & | input | ||
) |
Definition at line 118 of file t_propagator_nrqcd.cc.
References Param_t::boundary, Param_t::cfg_type, COLD_START, Chroma::FERM_TYPE_WILSON, Param_t::FermTypeP, FILE_START_NERSC, HOT_START, Param_t::invParam, Propagator_input_t::io_version, Param_t::Mass, Chroma::SysSolverCGParams::MaxCG, Param_t::nrow, 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 time_evolve | ( | LatticeFermion & | Gplus, |
const LatticeFermion & | Gnow, | ||
const multi1d< LatticeColorMatrix > & | u, | ||
int | t | ||
) |
Definition at line 484 of file t_propagator_nrqcd.cc.
References BACKWARD, t, Chroma::tmp, and Chroma::u.
void time_evolve | ( | LatticeFermion & | Gplus, |
const LatticeFermion & | Gnow, | ||
int | t | ||
) |
Referenced by compute_nrqcd_prop().