CHROMA
|
Public Member Functions | |
SourcePropCache (const multi1d< LatticeColorMatrix > &u, const ChromaProp_t &prop, MODS_t &eigs, int num_tries) | |
void | newTimeSource (const Params::Param_t::KeySolnProp_t &key_) |
New t-slice. More... | |
const LatticeColorVectorSpinMatrix & | getSoln (int t_source, int colorvec_src) |
The solution. More... | |
int | getNumVecs (int t_source) |
Getters. More... | |
Private Attributes | |
MODS_t & | eigen_source |
Eigenvectors. More... | |
int | num_tries |
Put it here. More... | |
std::map< int, Params::Param_t::KeySolnProp_t > | keys |
t_source -> prop keys More... | |
MapObjectMemory< Params::Param_t::KeySolnProp_t, std::map< int, LatticeColorVectorSpinMatrix > > | cache |
Cache: {key -> {colorvec -> LCVSM}}. More... | |
Handle< SystemSolver< LatticeFermion > > | PP |
qprop More... | |
Definition at line 592 of file inline_unsmeared_hadron_node_distillation_w.cc.
Chroma::InlineUnsmearedHadronNodeDistillationEnv::SourcePropCache::SourcePropCache | ( | const multi1d< LatticeColorMatrix > & | u, |
const ChromaProp_t & | prop, | ||
MODS_t & | eigs, | ||
int | num_tries | ||
) |
Definition at line 626 of file inline_unsmeared_hadron_node_distillation_w.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), PP, prop, Chroma::S_f, Chroma::state, and Chroma::u.
int Chroma::InlineUnsmearedHadronNodeDistillationEnv::SourcePropCache::getNumVecs | ( | int | t_source | ) |
Getters.
New t-slice.
Definition at line 748 of file inline_unsmeared_hadron_node_distillation_w.cc.
References keys, Chroma::InlineUnsmearedHadronNodeDistillationEnv::Params::Param_t::KeySolnProp_t::num_vecs, and t_source.
Referenced by Chroma::InlineUnsmearedHadronNodeDistillationEnv::InlineMeas::func().
const LatticeColorVectorSpinMatrix & Chroma::InlineUnsmearedHadronNodeDistillationEnv::SourcePropCache::getSoln | ( | int | t_source, |
int | colorvec_src | ||
) |
The solution.
New t-slice.
Definition at line 684 of file inline_unsmeared_hadron_node_distillation_w.cc.
References cache, Chroma::InlineUnsmearedHadronNodeDistillationEnv::doInversion(), eigen_source, Chroma::FermToProp(), keys, num_tries, PP, t_slice, Chroma::tmp, and Chroma::zero.
Referenced by Chroma::InlineUnsmearedHadronNodeDistillationEnv::InlineMeas::func().
void Chroma::InlineUnsmearedHadronNodeDistillationEnv::SourcePropCache::newTimeSource | ( | const Params::Param_t::KeySolnProp_t & | key_ | ) |
New t-slice.
Insert a new entry
Cache size will depend on cacheP flag
Definition at line 665 of file inline_unsmeared_hadron_node_distillation_w.cc.
References cache, keys, and Chroma::InlineUnsmearedHadronNodeDistillationEnv::Params::Param_t::KeySolnProp_t::t_source.
Referenced by Chroma::InlineUnsmearedHadronNodeDistillationEnv::InlineMeas::func().
|
private |
Cache: {key -> {colorvec -> LCVSM}}.
Definition at line 618 of file inline_unsmeared_hadron_node_distillation_w.cc.
Referenced by getSoln(), and newTimeSource().
|
private |
Eigenvectors.
Definition at line 609 of file inline_unsmeared_hadron_node_distillation_w.cc.
Referenced by getSoln().
|
private |
t_source -> prop keys
Definition at line 615 of file inline_unsmeared_hadron_node_distillation_w.cc.
Referenced by getNumVecs(), getSoln(), and newTimeSource().
|
private |
Put it here.
Definition at line 612 of file inline_unsmeared_hadron_node_distillation_w.cc.
Referenced by getSoln().
|
private |
qprop
Definition at line 621 of file inline_unsmeared_hadron_node_distillation_w.cc.
Referenced by getSoln(), and SourcePropCache().