CHROMA
|
Anonymous namespace. More...
Classes | |
struct | KeyMesonElementalOperator_t |
Meson operator. More... | |
struct | ValMesonElementalOperator_t |
Meson operator. More... | |
struct | KeyValMesonElementalOperator_t |
Holds key and value as temporaries. More... | |
struct | Params |
Parameter structure. More... | |
class | InlineMeas |
Inline measurement of meson operators via colorstd::vector matrix elements. More... | |
Functions | |
void | read (XMLReader &xml, const std::string &path, InlineMesonMatElemColorVecEnv::Params::Param_t ¶m) |
void | write (XMLWriter &xml, const std::string &path, const InlineMesonMatElemColorVecEnv::Params::Param_t ¶m) |
void | read (XMLReader &xml, const std::string &path, InlineMesonMatElemColorVecEnv::Params::NamedObject_t &input) |
Read named objects. More... | |
void | write (XMLWriter &xml, const std::string &path, const InlineMesonMatElemColorVecEnv::Params::NamedObject_t &input) |
Write named objects. More... | |
void | write (XMLWriter &xml, const std::string &path, const InlineMesonMatElemColorVecEnv::Params ¶m) |
bool | registerAll () |
Register all the factories. More... | |
void | read (BinaryReader &bin, KeyMesonElementalOperator_t ¶m) |
KeyMesonElementalOperator reader. More... | |
void | write (BinaryWriter &bin, const KeyMesonElementalOperator_t ¶m) |
MesonElementalOperator write. More... | |
void | read (XMLReader &xml, const std::string &path, KeyMesonElementalOperator_t ¶m) |
MesonElementalOperator reader. More... | |
void | write (XMLWriter &xml, const std::string &path, const KeyMesonElementalOperator_t ¶m) |
MesonElementalOperator writer. More... | |
void | read (BinaryReader &bin, ValMesonElementalOperator_t ¶m) |
MesonElementalOperator reader. More... | |
void | write (BinaryWriter &bin, const ValMesonElementalOperator_t ¶m) |
MesonElementalOperator write. More... | |
multi1d< int > | normDisp (const multi1d< int > &orig) |
Normalize just one displacement array. More... | |
Variables | |
const std::string | name = "MESON_MATELEM_COLORVEC" |
Anonymous namespace.
Diagnostic stuff
multi1d<int> Chroma::InlineMesonMatElemColorVecEnv::normDisp | ( | const multi1d< int > & | orig | ) |
Normalize just one displacement array.
Definition at line 343 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::END_CODE(), and Chroma::START_CODE().
Referenced by Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::func().
void Chroma::InlineMesonMatElemColorVecEnv::read | ( | BinaryReader & | bin, |
KeyMesonElementalOperator_t & | param | ||
) |
KeyMesonElementalOperator reader.
Definition at line 267 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::displacement, Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::mom, read(), and Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::t_slice.
void Chroma::InlineMesonMatElemColorVecEnv::read | ( | BinaryReader & | bin, |
ValMesonElementalOperator_t & | param | ||
) |
MesonElementalOperator reader.
Definition at line 307 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::i, j, n, Chroma::InlineMesonMatElemColorVecEnv::ValMesonElementalOperator_t::op, read(), and Chroma::InlineMesonMatElemColorVecEnv::ValMesonElementalOperator_t::type_of_data.
void Chroma::InlineMesonMatElemColorVecEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
InlineMesonMatElemColorVecEnv::Params::NamedObject_t & | input | ||
) |
Read named objects.
Definition at line 104 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::colorvec_id, Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::gauge_id, Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::meson_op_file, and read().
void Chroma::InlineMesonMatElemColorVecEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
InlineMesonMatElemColorVecEnv::Params::Param_t & | param | ||
) |
Definition at line 37 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::decay_dir, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::displacement_length, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::displacement_list, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::link_smearing, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom2_max, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom2_min, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom_list, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::num_vecs, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::orthog_basis, and Chroma::readXMLGroup().
Referenced by Chroma::InlineMesonMatElemColorVecEnv::Params::Params(), and read().
void Chroma::InlineMesonMatElemColorVecEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
KeyMesonElementalOperator_t & | param | ||
) |
MesonElementalOperator reader.
Definition at line 283 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::displacement, Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::mom, read(), and Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::t_slice.
bool Chroma::InlineMesonMatElemColorVecEnv::registerAll | ( | ) |
Register all the factories.
Definition at line 151 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), name, Chroma::LinkSmearingEnv::registerAll(), and Chroma::AsqtadFermActEnv::registered.
Referenced by Chroma::InlineHadronAggregateEnv::registerAll().
void Chroma::InlineMesonMatElemColorVecEnv::write | ( | BinaryWriter & | bin, |
const KeyMesonElementalOperator_t & | param | ||
) |
MesonElementalOperator write.
Definition at line 275 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::displacement, Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::mom, Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::t_slice, and write().
void Chroma::InlineMesonMatElemColorVecEnv::write | ( | BinaryWriter & | bin, |
const ValMesonElementalOperator_t & | param | ||
) |
MesonElementalOperator write.
Definition at line 325 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::i, j, n, Chroma::InlineMesonMatElemColorVecEnv::ValMesonElementalOperator_t::op, Chroma::InlineMesonMatElemColorVecEnv::ValMesonElementalOperator_t::type_of_data, and write().
void Chroma::InlineMesonMatElemColorVecEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const InlineMesonMatElemColorVecEnv::Params & | param | ||
) |
Definition at line 126 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::Params::writeXML().
void Chroma::InlineMesonMatElemColorVecEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const InlineMesonMatElemColorVecEnv::Params::NamedObject_t & | input | ||
) |
Write named objects.
Definition at line 114 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::colorvec_id, Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::gauge_id, Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::meson_op_file, Chroma::pop(), Chroma::push(), and write().
void Chroma::InlineMesonMatElemColorVecEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const InlineMesonMatElemColorVecEnv::Params::Param_t & | param | ||
) |
Definition at line 83 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::decay_dir, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::displacement_length, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::displacement_list, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::link_smearing, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom2_max, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom2_min, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom_list, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::num_vecs, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::orthog_basis, Chroma::pop(), Chroma::push(), and Chroma::GroupXML_t::xml.
Referenced by Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::func(), Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::operator()(), write(), and Chroma::InlineMesonMatElemColorVecEnv::Params::writeXML().
void Chroma::InlineMesonMatElemColorVecEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const KeyMesonElementalOperator_t & | param | ||
) |
MesonElementalOperator writer.
Definition at line 293 of file inline_meson_matelem_colorvec_w.cc.
References Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::displacement, Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::mom, Chroma::pop(), Chroma::push(), Chroma::InlineMesonMatElemColorVecEnv::KeyMesonElementalOperator_t::t_slice, and write().
const std::string Chroma::InlineMesonMatElemColorVecEnv::name = "MESON_MATELEM_COLORVEC" |
Definition at line 148 of file inline_meson_matelem_colorvec_w.cc.
Referenced by Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::func(), and registerAll().