Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Director_Smear Class Reference

Manager of smeared configurations. More...

#include <director_Smear.h>

Inheritance diagram for Director_Smear:
Director

Public Member Functions

 Director_Smear (Smear *smear)
 constructor requires pointer to Smear object More...
 
 Director_Smear (unique_ptr< Smear > &smear)
 
void set_parameters (const Parameters &params)
 set parameters, must be called before set_config More...
 
void set_parameters (const int Nsmear)
 
int get_Nsmear ()
 get number of applied smearing operation More...
 
Fieldgetptr_smearedConfig (const int i_smear)
 get pointer to i-th smeared config (0th is original thin link) More...
 
Field_Gget_config ()
 
Field_Gget_config (const int i_smear)
 
void set_config (Field *U)
 set pointer to original thin link variable More...
 
void set_config (unique_ptr< Field_G > &U)
 
void notify_linkv ()
 to be called when configuration is updated More...
 
- Public Member Functions inherited from Director
 Director ()
 
virtual ~Director ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Director_Smear"
 

Private Member Functions

void smear ()
 smearing is performed by calling a function of Smear object More...
 

Private Attributes

int m_Nsmear
 number of smearing to be applied More...
 
Smearm_smear
 smearing operator More...
 
Field_Gm_U
 original thin link var. More...
 
std::vector< Field_Gm_Usmear
 smeared configs. More...
 
int m_status_linkv
 set to zero when link var. is updated More...
 

Additional Inherited Members

- Protected Attributes inherited from Director
Bridge::VerboseLevel m_vl
 

Detailed Description

Manager of smeared configurations.

This director class handles smeared configurations. 28 Dec 2011 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]

Definition at line 39 of file director_Smear.h.

Constructor & Destructor Documentation

Director_Smear::Director_Smear ( Smear smear)
inline

constructor requires pointer to Smear object

Definition at line 53 of file director_Smear.h.

Director_Smear::Director_Smear ( unique_ptr< Smear > &  smear)
inline

Definition at line 62 of file director_Smear.h.

Member Function Documentation

Field_G * Director_Smear::get_config ( )

Definition at line 98 of file director_Smear.cpp.

Field_G * Director_Smear::get_config ( const int  i_smear)

Definition at line 105 of file director_Smear.cpp.

int Director_Smear::get_Nsmear ( )
inline

get number of applied smearing operation

Definition at line 76 of file director_Smear.h.

Field * Director_Smear::getptr_smearedConfig ( const int  i_smear)

get pointer to i-th smeared config (0th is original thin link)

Definition at line 85 of file director_Smear.cpp.

void Director_Smear::notify_linkv ( )
inlinevirtual

to be called when configuration is updated

Implements Director.

Definition at line 89 of file director_Smear.h.

void Director_Smear::set_config ( Field U)
virtual

set pointer to original thin link variable

Implements Director.

Definition at line 69 of file director_Smear.cpp.

void Director_Smear::set_config ( unique_ptr< Field_G > &  U)
virtual

Implements Director.

Definition at line 78 of file director_Smear.cpp.

void Director_Smear::set_parameters ( const Parameters params)
virtual

set parameters, must be called before set_config

Implements Director.

Definition at line 19 of file director_Smear.cpp.

void Director_Smear::set_parameters ( const int  Nsmear)

Definition at line 42 of file director_Smear.cpp.

void Director_Smear::smear ( )
private

smearing is performed by calling a function of Smear object

Definition at line 114 of file director_Smear.cpp.

Member Data Documentation

const std::string Director_Smear::class_name = "Director_Smear"
static

Definition at line 42 of file director_Smear.h.

int Director_Smear::m_Nsmear
private

number of smearing to be applied

Definition at line 45 of file director_Smear.h.

Smear* Director_Smear::m_smear
private

smearing operator

Definition at line 46 of file director_Smear.h.

int Director_Smear::m_status_linkv
private

set to zero when link var. is updated

Definition at line 49 of file director_Smear.h.

Field_G* Director_Smear::m_U
private

original thin link var.

Definition at line 47 of file director_Smear.h.

std::vector<Field_G> Director_Smear::m_Usmear
private

smeared configs.

Definition at line 48 of file director_Smear.h.


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