CHROMA
|
Classes | |
class | Key |
struct | HadronKey |
struct | HadronOperator |
class | MesonOpData |
class | BaryonOpData |
struct | Params |
Parameter structure. More... | |
struct | MesonOp |
struct | BaryonOp |
class | InlineMeas |
Inline measurement of stochastic baryon operators. More... | |
Enumerations | |
enum | HadronType { MESON_SRC_SRC , MESON_SOL_SOL , MESON_SRC_SOL , BARYON_SRC , BARYON_SOL } |
enum | Flavor { up , down , strange , charm , bottom } |
Functions | |
bool | registerAll () |
Register all the factories. More... | |
void | read (XMLReader &xml, const std::string &path, Params::Param_t ¶m) |
void | write (XMLWriter &xml, const std::string &path, const Params::Param_t ¶m) |
void | read (XMLReader &xml, const std::string &path, Params::NamedObject_t &input) |
Gauge field parameters. More... | |
void | write (XMLWriter &xml, const std::string &path, const Params::NamedObject_t &input) |
Gauge field parameters. More... | |
void | ParseMeson (MesonOp &m, const GroupXML_t &grpXML) |
void | ParseBaryon (BaryonOp &m, const GroupXML_t &grpXML) |
void | meson (DComplex &corr, const int &g, const LatticeComplex &phase, const LatticeFermion &eta, const LatticeFermion &chi, const Subset &s) |
void | baryon (multi1d< DComplex > &d, const int &g, const LatticeComplex &phase, const LatticeFermion &eta1, const LatticeFermion &eta2, const LatticeFermion &eta3, const Subset &s) |
bool | operator< (const Key &a, const Key &b) |
void | write (BinaryWriter &bin, const Key &klidi) |
Key binary writer. More... | |
void | read (BinaryReader &bin, Key &klidi) |
Key binary reader. More... | |
void | write (BinaryWriter &bin, const HadronKey &h) |
HadronKey binary writer. More... | |
void | read (BinaryReader &bin, HadronKey &h) |
HadronKey binary reader. More... | |
void | write (BinaryWriter &bin, HadronOperator &h) |
HadronKey binary writer. More... | |
void | read (BinaryReader &bin, HadronOperator &h) |
HadronKey binary reader. More... | |
void | read (BinaryReader &bin, MesonOpData ¶m) |
MesonOp reader. More... | |
void | write (BinaryWriter &bin, const MesonOpData ¶m) |
MesonOp write. More... | |
void | read (BinaryReader &bin, BaryonOpData ¶m) |
BaryonOp reader. More... | |
void | write (BinaryWriter &bin, const BaryonOpData ¶m) |
BaryonOp write. More... | |
Variables | |
const std::string | name = "STOCH_HADRON" |
Enumerator | |
---|---|
up | |
down | |
strange | |
charm | |
bottom |
Definition at line 25 of file inline_stoch_hadron_w.h.
Enumerator | |
---|---|
MESON_SRC_SRC | |
MESON_SOL_SOL | |
MESON_SRC_SOL | |
BARYON_SRC | |
BARYON_SOL |
Definition at line 35 of file inline_stoch_hadron_w.cc.
void Chroma::InlineStochHadronEnv::baryon | ( | multi1d< DComplex > & | d, |
const int & | g, | ||
const LatticeComplex & | phase, | ||
const LatticeFermion & | eta1, | ||
const LatticeFermion & | eta2, | ||
const LatticeFermion & | eta3, | ||
const Subset & | s | ||
) |
Definition at line 246 of file inline_stoch_hadron_w.cc.
References Chroma::BaryonSpinMats::Cg5(), Chroma::d, Chroma::SimpleBaryonSeqSourceEnv::di_quark, Chroma::END_CODE(), Chroma::i, j, Chroma::k, Chroma::s(), Chroma::START_CODE(), sum, and Chroma::zero.
Referenced by Chroma::InlineStochHadronEnv::InlineMeas::func().
void Chroma::InlineStochHadronEnv::meson | ( | DComplex & | corr, |
const int & | g, | ||
const LatticeComplex & | phase, | ||
const LatticeFermion & | eta, | ||
const LatticeFermion & | chi, | ||
const Subset & | s | ||
) |
Definition at line 236 of file inline_stoch_hadron_w.cc.
References Chroma::chi(), Chroma::eta, Chroma::InlinePropAndMatElemDistillation2Env::local::localInnerProduct(), Chroma::s(), and sum.
Referenced by Chroma::InlineStochHadronEnv::InlineMeas::func().
Definition at line 340 of file inline_stoch_hadron_w.cc.
void Chroma::InlineStochHadronEnv::ParseBaryon | ( | BaryonOp & | m, |
const GroupXML_t & | grpXML | ||
) |
Definition at line 223 of file inline_stoch_hadron_w.cc.
References Chroma::GroupXML_t::id, m, read(), and Chroma::GroupXML_t::xml.
Referenced by Chroma::InlineStochHadronEnv::InlineMeas::setUpMaps().
void Chroma::InlineStochHadronEnv::ParseMeson | ( | MesonOp & | , |
const GroupXML_t & | |||
) |
void meson(DComplex& corr, const GroupXML_t& grpXML, const LatticeComplex& phase, const LatticeFermion& eta, const LatticeFermion& chi, const Subset& s) ;
void baryon(DComplex& corr, const GroupXML_t& grpXML, const LatticeComplex& phase, const LatticeFermion& eta1, const LatticeFermion& eta2, const LatticeFermion& eta3, const Subset& s) ;
Definition at line 210 of file inline_stoch_hadron_w.cc.
References Chroma::GroupXML_t::id, m, read(), and Chroma::GroupXML_t::xml.
Referenced by Chroma::InlineStochHadronEnv::InlineMeas::setUpMaps().
void Chroma::InlineStochHadronEnv::read | ( | BinaryReader & | bin, |
BaryonOpData & | param | ||
) |
BaryonOp reader.
Definition at line 477 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::BaryonOpData::data, Chroma::i, j, Chroma::k, n, and read().
void Chroma::InlineStochHadronEnv::read | ( | BinaryReader & | bin, |
HadronKey & | h | ||
) |
HadronKey binary reader.
Definition at line 376 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::HadronKey::gamma, Chroma::InlineStochHadronEnv::HadronKey::p, Chroma::InlineStochHadronEnv::HadronKey::qn, read(), Chroma::InlineStochHadronEnv::HadronKey::t, Chroma::InlineStochHadronEnv::HadronKey::t0, and Chroma::InlineStochHadronEnv::HadronKey::type.
void Chroma::InlineStochHadronEnv::read | ( | BinaryReader & | bin, |
HadronOperator & | h | ||
) |
HadronKey binary reader.
Definition at line 410 of file inline_stoch_hadron_w.cc.
References Octave::count, Chroma::InlineStochHadronEnv::HadronOperator::data, Chroma::i, Chroma::k, and read().
void Chroma::InlineStochHadronEnv::read | ( | BinaryReader & | bin, |
Key & | klidi | ||
) |
Key binary reader.
Definition at line 349 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::Key::k, and read().
void Chroma::InlineStochHadronEnv::read | ( | BinaryReader & | bin, |
MesonOpData & | param | ||
) |
MesonOp reader.
Definition at line 445 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::MesonOpData::data, Chroma::i, j, n, and read().
void Chroma::InlineStochHadronEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Params::NamedObject_t & | input | ||
) |
Gauge field parameters.
Definition at line 140 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::Params::NamedObject_t::gauge_id, and read().
void Chroma::InlineStochHadronEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Params::Param_t & | param | ||
) |
Definition at line 64 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::Params::Param_t::displace, Chroma::InlineStochHadronEnv::Params::Param_t::link_smear, Chroma::InlineStochHadronEnv::Params::Param_t::mom2_max, Chroma::InlineStochHadronEnv::Params::Param_t::ops, Chroma::InlineStochHadronEnv::Params::Param_t::quarks, Chroma::readXMLArrayGroup(), Chroma::readXMLGroup(), and Chroma::InlineStochHadronEnv::Params::Param_t::smearing.
Referenced by Chroma::InlineStochHadronEnv::Params::Params(), ParseBaryon(), ParseMeson(), and read().
bool Chroma::InlineStochHadronEnv::registerAll | ( | ) |
Register all the factories.
Definition at line 51 of file inline_stoch_hadron_w.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), name, Chroma::BaryonOperatorEnv::registerAll(), and Chroma::AsqtadFermActEnv::registered.
Referenced by Chroma::InlineHadronAggregateEnv::registerAll().
void Chroma::InlineStochHadronEnv::write | ( | BinaryWriter & | bin, |
const BaryonOpData & | param | ||
) |
BaryonOp write.
Definition at line 496 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::BaryonOpData::data, Chroma::i, j, Chroma::k, n, and write().
void Chroma::InlineStochHadronEnv::write | ( | BinaryWriter & | bin, |
const HadronKey & | h | ||
) |
HadronKey binary writer.
Definition at line 366 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::HadronKey::gamma, Chroma::InlineStochHadronEnv::HadronKey::p, Chroma::InlineStochHadronEnv::HadronKey::qn, Chroma::InlineStochHadronEnv::HadronKey::t, Chroma::InlineStochHadronEnv::HadronKey::t0, Chroma::InlineStochHadronEnv::HadronKey::type, and write().
void Chroma::InlineStochHadronEnv::write | ( | BinaryWriter & | bin, |
const Key & | klidi | ||
) |
Key binary writer.
Definition at line 344 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::Key::k, and write().
void Chroma::InlineStochHadronEnv::write | ( | BinaryWriter & | bin, |
const MesonOpData & | param | ||
) |
MesonOp write.
Definition at line 461 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::MesonOpData::data, Chroma::i, j, n, and write().
void Chroma::InlineStochHadronEnv::write | ( | BinaryWriter & | bin, |
HadronOperator & | h | ||
) |
HadronKey binary writer.
Definition at line 396 of file inline_stoch_hadron_w.cc.
References Octave::count, Chroma::InlineStochHadronEnv::HadronOperator::data, it, and write().
void Chroma::InlineStochHadronEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const Params::NamedObject_t & | input | ||
) |
Gauge field parameters.
Definition at line 150 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::Params::NamedObject_t::gauge_id, Chroma::pop(), Chroma::push(), and write().
void Chroma::InlineStochHadronEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const Params::Param_t & | param | ||
) |
Definition at line 97 of file inline_stoch_hadron_w.cc.
References Chroma::InlineStochHadronEnv::Params::Param_t::displace, Chroma::InlineStochHadronEnv::Params::Param_t::link_smear, Chroma::InlineStochHadronEnv::Params::Param_t::mom2_max, Chroma::InlineStochHadronEnv::Params::Param_t::ops, Chroma::pop(), Chroma::push(), Chroma::InlineStochHadronEnv::Params::Param_t::quarks, Chroma::InlineStochHadronEnv::Params::Param_t::smearing, t, and Chroma::GroupXML_t::xml.
Referenced by Chroma::InlineStochHadronEnv::InlineMeas::func(), Chroma::InlineStochHadronEnv::InlineMeas::operator()(), write(), and Chroma::InlineStochHadronEnv::Params::write().
const std::string Chroma::InlineStochHadronEnv::name = "STOCH_HADRON" |
Definition at line 48 of file inline_stoch_hadron_w.cc.
Referenced by Chroma::InlineStochHadronEnv::InlineMeas::func(), and registerAll().