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

Inline task for creating colorvectors. More...

#include <inline_create_colorvecs.h>

Inheritance diagram for Chroma::InlineCreateColorVecsEnv::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 task for creating colorvectors.

Definition at line 54 of file inline_create_colorvecs.h.

Constructor & Destructor Documentation

◆ ~InlineMeas()

Chroma::InlineCreateColorVecsEnv::InlineMeas::~InlineMeas ( )
inline

Definition at line 57 of file inline_create_colorvecs.h.

◆ InlineMeas() [1/2]

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

Definition at line 58 of file inline_create_colorvecs.h.

◆ InlineMeas() [2/2]

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

Definition at line 59 of file inline_create_colorvecs.h.

Member Function Documentation

◆ func()

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

Do the measurement.

Loop for num_iter apply smearing if orthonormalize is true to a GramSchmit on them Compute the v'Smearing v matrix elements for all color vectors call them evals and monitor convergence on one time slice EndLoop

Definition at line 191 of file inline_create_colorvecs.cc.

References Chroma::InlineCreateColorVecsEnv::Params::NamedObject_t::colorvec_id, Chroma::InlineCreateColorVecsEnv::Params::NamedObject_t::colorvec_obj, Chroma::InlineCreateColorVecsEnv::Params::Param_t::decay_dir, Chroma::EVPair< T >::eigenValue, Chroma::EVPair< T >::eigenVector, Chroma::END_CODE(), Chroma::InlineCreateColorVecsEnv::Params::NamedObject_t::gauge_id, Chroma::gaussian(), Chroma::gausSmear(), Chroma::SftMom::getSet(), Chroma::i, Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::k, Chroma::klein_gord(), Chroma::InlineCreateColorVecsEnv::Params::Param_t::link_smear, Chroma::InlinePropAndMatElemDistillation2Env::local::localInnerProduct(), m, Chroma::MesPlq(), Chroma::InlineCreateColorVecsEnv::name, Chroma::InlineCreateColorVecsEnv::Params::named_obj, Chroma::InlineCreateColorVecsEnv::Params::Param_t::num_iter, Chroma::InlineCreateColorVecsEnv::Params::Param_t::num_orthog, Chroma::InlineCreateColorVecsEnv::Params::Param_t::num_vecs, Chroma::SftMom::numSubsets(), Chroma::InlineCreateColorVecsEnv::Params::param, params, Chroma::GroupXML_t::path, Chroma::pop(), Chroma::proginfo(), Chroma::push(), Chroma::START_CODE(), t, Chroma::u, Chroma::InlineCreateColorVecsEnv::Params::Param_t::width, Chroma::InlineCreateColorVecsEnv::write(), and Chroma::GroupXML_t::xml.

Referenced by operator()().

◆ getFrequency()

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

Tell me how often I should measure this beastie.

Implements Chroma::AbsInlineMeasurement.

Definition at line 61 of file inline_create_colorvecs.h.

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

◆ operator()()

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

Member Data Documentation

◆ params

Params Chroma::InlineCreateColorVecsEnv::InlineMeas::params
private

Definition at line 73 of file inline_create_colorvecs.h.

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


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