CHROMA
|
Point source parameters. More...
#include <sh_zN_grid_source_const.h>
Public Member Functions | |
Params () | |
Read parameters. More... | |
Params (XMLReader &in, const std::string &path) | |
Read parameters. More... | |
void | writeXML (XMLWriter &out, const std::string &path) const |
Public Attributes | |
bool | quark_smear_lastP |
GroupXML_t | quark_smearing |
GroupXML_t | quark_displacement |
GroupXML_t | link_smearing |
int | j_decay |
multi1d< int > | t_srce |
multi1d< int > | grd |
multi1d< multi1d< int > > | moms |
Seed | ran_seed |
Point source parameters.
Definition at line 33 of file sh_zN_grid_source_const.h.
Chroma::ShellZnGridQuarkSourceConstEnv::Params::Params | ( | ) |
Read parameters.
Definition at line 92 of file sh_zN_grid_source_const.cc.
References j_decay, Nd, quark_smear_lastP, and t_srce.
Chroma::ShellZnGridQuarkSourceConstEnv::Params::Params | ( | XMLReader & | in, |
const std::string & | path | ||
) |
Read parameters.
Definition at line 101 of file sh_zN_grid_source_const.cc.
References Chroma::SimpleQuarkDisplacementEnv::getName(), grd, Chroma::GroupXML_t::id, j_decay, link_smearing, moms, Chroma::LinkSmearingEnv::nullXMLGroup(), Chroma::QuarkDisplacementEnv::nullXMLGroup(), Chroma::pop(), Chroma::push(), quark_displacement, quark_smear_lastP, quark_smearing, ran_seed, Chroma::read(), Chroma::readXMLGroup(), t_srce, Chroma::write(), and Chroma::GroupXML_t::xml.
void Chroma::ShellZnGridQuarkSourceConstEnv::Params::writeXML | ( | XMLWriter & | out, |
const std::string & | path | ||
) | const |
Definition at line 180 of file sh_zN_grid_source_const.cc.
References grd, j_decay, link_smearing, moms, Chroma::AsqtadFermActEnv::name, Chroma::pop(), Chroma::push(), quark_displacement, quark_smear_lastP, quark_smearing, ran_seed, t_srce, Chroma::write(), and Chroma::GroupXML_t::xml.
Referenced by Chroma::write().
multi1d<int> Chroma::ShellZnGridQuarkSourceConstEnv::Params::grd |
grid spacing negative means no grid in this direction.
Definition at line 48 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
int Chroma::ShellZnGridQuarkSourceConstEnv::Params::j_decay |
Decay direction
Definition at line 45 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
GroupXML_t Chroma::ShellZnGridQuarkSourceConstEnv::Params::link_smearing |
link smearing xml
Definition at line 43 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
multi1d<multi1d<int> > Chroma::ShellZnGridQuarkSourceConstEnv::Params::moms |
If not empty add a linear combination of momenta to the source
Definition at line 49 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
GroupXML_t Chroma::ShellZnGridQuarkSourceConstEnv::Params::quark_displacement |
displacement xml
Definition at line 42 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
bool Chroma::ShellZnGridQuarkSourceConstEnv::Params::quark_smear_lastP |
Flag controlling order of smearing
Definition at line 39 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
GroupXML_t Chroma::ShellZnGridQuarkSourceConstEnv::Params::quark_smearing |
xml std::string holding smearing params
Definition at line 41 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
Seed Chroma::ShellZnGridQuarkSourceConstEnv::Params::ran_seed |
Set the seed to this value
Definition at line 50 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
multi1d<int> Chroma::ShellZnGridQuarkSourceConstEnv::Params::t_srce |
source location
Definition at line 47 of file sh_zN_grid_source_const.h.
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().