CHROMA
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Chroma::InlineMesonMatElemColorVecEnv::InlineMeas Class Reference

Inline measurement of meson operators via colorstd::vector matrix elements. More...

#include <inline_meson_matelem_colorvec_w.h>

Inheritance diagram for Chroma::InlineMesonMatElemColorVecEnv::InlineMeas:
Chroma::AbsInlineMeasurement

Public Member Functions

 ~InlineMeas ()
 
 InlineMeas (const Params &p)
 
 InlineMeas (const InlineMeas &p)
 
unsigned long getFrequency (void) const
 Tell me how often I should measure this beastie. More...
 
void operator() (const unsigned long update_no, XMLWriter &xml_out)
 Do the measurement. More...
 
- Public Member Functions inherited from Chroma::AbsInlineMeasurement
virtual ~AbsInlineMeasurement (void)
 Virtual Destructor. More...
 

Protected Member Functions

void func (const unsigned long update_no, XMLWriter &xml_out)
 Do the measurement. More...
 

Private Attributes

Params params
 

Detailed Description

Inline measurement of meson operators via colorstd::vector matrix elements.

Definition at line 60 of file inline_meson_matelem_colorvec_w.h.

Constructor & Destructor Documentation

◆ ~InlineMeas()

Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::~InlineMeas ( )
inline

Definition at line 63 of file inline_meson_matelem_colorvec_w.h.

◆ InlineMeas() [1/2]

Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::InlineMeas ( const Params p)
inline

Definition at line 64 of file inline_meson_matelem_colorvec_w.h.

◆ InlineMeas() [2/2]

Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::InlineMeas ( const InlineMeas p)
inline

Definition at line 65 of file inline_meson_matelem_colorvec_w.h.

Member Function Documentation

◆ func()

void Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::func ( const unsigned long  update_no,
XMLWriter &  xml_out 
)
protected

Do the measurement.

Definition at line 399 of file inline_meson_matelem_colorvec_w.cc.

References Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::colorvec_id, COLORVEC_MATELEM_TYPE_GENERIC, COLORVEC_MATELEM_TYPE_ONE, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::decay_dir, Chroma::displace(), Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::displacement_length, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::displacement_list, eigen_source, Chroma::EVPair< T >::eigenVector, Chroma::END_CODE(), Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::gauge_id, Chroma::getEigenValues(), Chroma::SftMom::getSet(), Chroma::i, Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), j, l, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::link_smearing, Chroma::InlinePropAndMatElemDistillation2Env::local::localInnerProduct(), Chroma::InlineMesonMatElemColorVecEnv::Params::NamedObject_t::meson_op_file, Chroma::MesPlq(), Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom2_max, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom2_min, Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::mom_list, Chroma::InlineMesonMatElemColorVecEnv::name, Chroma::InlineMesonMatElemColorVecEnv::Params::named_obj, Chroma::InlineMesonMatElemColorVecEnv::normDisp(), Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::num_vecs, Chroma::SftMom::numMom(), Chroma::SftMom::numSubsets(), Chroma::SftMom::numToMom(), Chroma::InlineMesonMatElemColorVecEnv::Params::Param_t::orthog_basis, Chroma::InlineMesonMatElemColorVecEnv::Params::param, params, Chroma::GroupXML_t::path, Chroma::pop(), Chroma::proginfo(), Chroma::push(), Chroma::START_CODE(), t, Chroma::u, Chroma::InlineMesonMatElemColorVecEnv::write(), Chroma::InlineMesonMatElemColorVecEnv::Params::writeXML(), and Chroma::GroupXML_t::xml.

Referenced by operator()().

◆ getFrequency()

unsigned long Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::getFrequency ( void  ) const
inlinevirtual

Tell me how often I should measure this beastie.

Implements Chroma::AbsInlineMeasurement.

Definition at line 67 of file inline_meson_matelem_colorvec_w.h.

References Chroma::InlineMesonMatElemColorVecEnv::Params::frequency, and params.

◆ operator()()

void Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::operator() ( const unsigned long  update_no,
XMLWriter &  xml_out 
)
virtual

Member Data Documentation

◆ params

Params Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::params
private

Definition at line 79 of file inline_meson_matelem_colorvec_w.h.

Referenced by func(), getFrequency(), and operator()().


The documentation for this class was generated from the following files: