CHROMA
|
Classes | |
struct | ThreeQuarkOps_t |
3-quark operator structure More... | |
struct | KeySmearedQuark_t |
The key for smeared quarks. More... | |
struct | SmearedQuark_t |
struct | KeySmearedDispColorVector_t |
The key for smeared and displaced color vectors. More... | |
struct | SmearedDispColorVector_t |
The value of the std::map. More... | |
class | SmearedDispObjects |
The smeared and displaced objects. More... | |
struct | BaryonOperator_t |
Baryon operator. More... | |
struct | Params |
Parameter structure. More... | |
class | InlineMeas |
Inline measurement of stochastic group baryon operators. More... | |
Functions | |
SpinMatrix | rotate_mat (adj(DiracToDRMat())) |
void | read (XMLReader &xml, const std::string &path, InlineStochGroupBaryonEnv::Params::Param_t ¶m) |
void | write (XMLWriter &xml, const std::string &path, const InlineStochGroupBaryonEnv::Params::Param_t ¶m) |
void | read (XMLReader &xml, const std::string &path, InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t &input) |
void | write (XMLWriter &xml, const std::string &path, const InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t &input) |
void | read (XMLReader &xml, const std::string &path, InlineStochGroupBaryonEnv::Params::NamedObject_t &input) |
Read named objects. More... | |
void | write (XMLWriter &xml, const std::string &path, const InlineStochGroupBaryonEnv::Params::NamedObject_t &input) |
Write named objects. More... | |
bool | registerAll () |
Register all the factories. More... | |
void | write (XMLWriter &xml, const std::string &path, const ThreeQuarkOps_t::ThreeQuarkOp_t::QuarkInfo_t &input) |
Write quark. More... | |
void | write (XMLWriter &xml, const std::string &path, const ThreeQuarkOps_t::ThreeQuarkOp_t &input) |
Write three quark op. More... | |
bool | operator< (const KeySmearedQuark_t &a, const KeySmearedQuark_t &b) |
Support for the keys of smeared quarks. More... | |
bool | operator< (const KeySmearedDispColorVector_t &a, const KeySmearedDispColorVector_t &b) |
Support for the keys of smeared and displaced color vectors. More... | |
void | makeDiquark (multi1d< LatticeComplex > &diquark, const multi1d< LatticeComplex > &q0, const multi1d< LatticeComplex > &q1, const Subset &subset) |
void | makeColorSinglet (LatticeComplex &singlet, const multi1d< LatticeComplex > &diquark, const multi1d< LatticeComplex > &q2, const Subset &subset) |
void | write (XMLWriter &xml, const std::string &path, const BaryonOperator_t ¶m) |
BaryonOperator header writer. More... | |
void | write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::Mom_t ¶m) |
BaryonOperator binary writer. More... | |
void | write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t ¶m) |
BaryonOperator binary writer. More... | |
void | write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t::Orderings_t ¶m) |
BaryonOperator binary writer. More... | |
void | write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t ¶m) |
BaryonOperator binary writer. More... | |
void | write (BinaryWriter &bin, const BaryonOperator_t ¶m) |
BaryonOperator binary writer. More... | |
void | readOps (ThreeQuarkOps_t &oplist, const std::string &ops_file) |
Read 3-quark operators file, assign correct displacement length. More... | |
Variables | |
const int | N_quarks = 3 |
Number of quarks to be used in this construction. More... | |
const std::string | name = "STOCH_GROUP_BARYON" |
void Chroma::InlineStochGroupBaryonEnv::makeColorSinglet | ( | LatticeComplex & | singlet, |
const multi1d< LatticeComplex > & | diquark, | ||
const multi1d< LatticeComplex > & | q2, | ||
const Subset & | subset | ||
) |
Definition at line 749 of file inline_stoch_group_baryon_w.cc.
Referenced by Chroma::InlineStochGroupBaryonEnv::InlineMeas::func().
void Chroma::InlineStochGroupBaryonEnv::makeDiquark | ( | multi1d< LatticeComplex > & | diquark, |
const multi1d< LatticeComplex > & | q0, | ||
const multi1d< LatticeComplex > & | q1, | ||
const Subset & | subset | ||
) |
Definition at line 734 of file inline_stoch_group_baryon_w.cc.
Referenced by Chroma::InlineStochGroupBaryonEnv::InlineMeas::func().
bool Chroma::InlineStochGroupBaryonEnv::operator< | ( | const KeySmearedDispColorVector_t & | a, |
const KeySmearedDispColorVector_t & | b | ||
) |
Support for the keys of smeared and displaced color vectors.
Definition at line 350 of file inline_stoch_group_baryon_w.cc.
bool Chroma::InlineStochGroupBaryonEnv::operator< | ( | const KeySmearedQuark_t & | a, |
const KeySmearedQuark_t & | b | ||
) |
Support for the keys of smeared quarks.
Definition at line 318 of file inline_stoch_group_baryon_w.cc.
void Chroma::InlineStochGroupBaryonEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
InlineStochGroupBaryonEnv::Params::NamedObject_t & | input | ||
) |
Read named objects.
Definition at line 149 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::Params::NamedObject_t::gauge_id, Chroma::InlineStochGroupBaryonEnv::Params::NamedObject_t::operators_file, Chroma::InlineStochGroupBaryonEnv::Params::NamedObject_t::quark_ids, and read().
void Chroma::InlineStochGroupBaryonEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t & | input | ||
) |
void Chroma::InlineStochGroupBaryonEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
InlineStochGroupBaryonEnv::Params::Param_t & | param | ||
) |
Definition at line 46 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::Params::Param_t::displacement_length, Chroma::i, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::link_smearing, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::mom2_max, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::moms, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::quark_dils, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::quark_smearing, Chroma::readXMLArrayGroup(), and Chroma::readXMLGroup().
Referenced by Chroma::InlineStochGroupBaryonEnv::Params::Params(), and read().
void Chroma::InlineStochGroupBaryonEnv::readOps | ( | ThreeQuarkOps_t & | oplist, |
const std::string & | ops_file | ||
) |
Read 3-quark operators file, assign correct displacement length.
Definition at line 890 of file inline_stoch_group_baryon_w.cc.
References Chroma::displacement(), Chroma::END_CODE(), Chroma::i, n, N_quarks, name, Chroma::InlineStochGroupBaryonEnv::ThreeQuarkOps_t::ops, Chroma::InlineStochGroupBaryonEnv::ThreeQuarkOps_t::ThreeQuarkOp_t::quark, Chroma::StaggeredTypeFermBCEnv::reader(), and Chroma::START_CODE().
Referenced by Chroma::InlineStochGroupBaryonEnv::InlineMeas::func().
bool Chroma::InlineStochGroupBaryonEnv::registerAll | ( | ) |
Register all the factories.
Definition at line 190 of file inline_stoch_group_baryon_w.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), name, Chroma::DilutionSchemeEnv::registerAll(), Chroma::QuarkSinkSmearingEnv::registerAll(), Chroma::QuarkSourceSmearingEnv::registerAll(), and Chroma::AsqtadFermActEnv::registered.
Referenced by Chroma::InlineHadronAggregateEnv::registerAll().
SpinMatrix Chroma::InlineStochGroupBaryonEnv::rotate_mat | ( | adj(DiracToDRMat()) | ) |
void Chroma::InlineStochGroupBaryonEnv::write | ( | BinaryWriter & | bin, |
const BaryonOperator_t & | param | ||
) |
BaryonOperator binary writer.
Definition at line 877 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::decay_dir, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::mom2_max, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::perms, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::seed_l, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::seed_m, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::seed_r, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::time_slices, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | BinaryWriter & | bin, |
const BaryonOperator_t::TimeSlices_t & | param | ||
) |
BaryonOperator binary writer.
Definition at line 870 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::orderings, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::t0, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | BinaryWriter & | bin, |
const BaryonOperator_t::TimeSlices_t::Orderings_t & | param | ||
) |
BaryonOperator binary writer.
Definition at line 863 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::Orderings_t::dilutions, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::Orderings_t::perm, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | BinaryWriter & | bin, |
const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t & | param | ||
) |
BaryonOperator binary writer.
Definition at line 857 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::mom_projs, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | BinaryWriter & | bin, |
const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::Mom_t & | param | ||
) |
BaryonOperator binary writer.
Definition at line 850 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::Mom_t::mom, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::Mom_t::op, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const BaryonOperator_t & | param | ||
) |
BaryonOperator header writer.
Definition at line 816 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::decay_dir, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::dilution_l, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::dilution_m, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::dilution_r, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::id, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::mom2_max, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::perms, Chroma::pop(), Chroma::push(), Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::seed_l, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::seed_m, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::seed_r, Chroma::InlineStochGroupBaryonEnv::BaryonOperator_t::smearing, write(), and Chroma::GroupXML_t::xml.
void Chroma::InlineStochGroupBaryonEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const InlineStochGroupBaryonEnv::Params::NamedObject_t & | input | ||
) |
Write named objects.
Definition at line 159 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::Params::NamedObject_t::gauge_id, Chroma::InlineStochGroupBaryonEnv::Params::NamedObject_t::operators_file, Chroma::pop(), Chroma::push(), Chroma::InlineStochGroupBaryonEnv::Params::NamedObject_t::quark_ids, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t & | input | ||
) |
void Chroma::InlineStochGroupBaryonEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const InlineStochGroupBaryonEnv::Params::Param_t & | param | ||
) |
Definition at line 105 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::Params::Param_t::displacement_length, Chroma::i, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::link_smearing, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::mom2_max, Chroma::pop(), Chroma::push(), Chroma::InlineStochGroupBaryonEnv::Params::Param_t::quark_dils, Chroma::InlineStochGroupBaryonEnv::Params::Param_t::quark_smearing, and Chroma::GroupXML_t::xml.
Referenced by Chroma::InlineStochGroupBaryonEnv::InlineMeas::func(), Chroma::InlineStochGroupBaryonEnv::InlineMeas::operator()(), write(), and Chroma::InlineStochGroupBaryonEnv::Params::writeXML().
void Chroma::InlineStochGroupBaryonEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ThreeQuarkOps_t::ThreeQuarkOp_t & | input | ||
) |
Write three quark op.
Definition at line 292 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::ThreeQuarkOps_t::ThreeQuarkOp_t::name, Chroma::pop(), Chroma::push(), Chroma::InlineStochGroupBaryonEnv::ThreeQuarkOps_t::ThreeQuarkOp_t::quark, and write().
void Chroma::InlineStochGroupBaryonEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ThreeQuarkOps_t::ThreeQuarkOp_t::QuarkInfo_t & | input | ||
) |
Write quark.
Definition at line 280 of file inline_stoch_group_baryon_w.cc.
References Chroma::InlineStochGroupBaryonEnv::ThreeQuarkOps_t::ThreeQuarkOp_t::QuarkInfo_t::displacement, Chroma::pop(), Chroma::push(), Chroma::InlineStochGroupBaryonEnv::ThreeQuarkOps_t::ThreeQuarkOp_t::QuarkInfo_t::spin, and write().
const int Chroma::InlineStochGroupBaryonEnv::N_quarks = 3 |
Number of quarks to be used in this construction.
Definition at line 37 of file inline_stoch_group_baryon_w.cc.
Referenced by Chroma::InlineDiscoEigCGEnv::InlineMeas::func(), Chroma::InlineDiscoEoEigCGEnv::InlineMeas::func(), Chroma::InlineDiscoEOPrecEnv::InlineMeas::func(), Chroma::InlineDiscoEnv::InlineMeas::func(), Chroma::InlineProp3ptEnv::InlineMeas::func(), Chroma::InlineStochGroupBaryonEnv::InlineMeas::func(), Chroma::InlineStochHadronEnv::InlineMeas::func(), readOps(), and Chroma::InlineStochGroupBaryonEnv::SmearedDispObjects::SmearedDispObjects().
const std::string Chroma::InlineStochGroupBaryonEnv::name = "STOCH_GROUP_BARYON" |
Definition at line 187 of file inline_stoch_group_baryon_w.cc.
Referenced by Chroma::InlineStochGroupBaryonEnv::InlineMeas::func(), readOps(), and registerAll().