Bridge++  Ver. 2.0.2
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 (Smear *smear, const Parameters &params)
 
void set_parameters (const Parameters &params)
 set parameters, must be called before set_config More...
 
void set_parameters (const int Nsmear)
 
void get_parameters (Parameters &params) const
 get parameters More...
 
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 notify_linkv ()
 to be called when configuration is updated More...
 
- Public Member Functions inherited from Director
 Director ()
 
virtual ~Director ()
 

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

Bridge::VerboseLevel m_vl
 
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...
 

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() [1/2]

Director_Smear::Director_Smear ( Smear smear)
inline

constructor requires pointer to Smear object

Definition at line 55 of file director_Smear.h.

◆ Director_Smear() [2/2]

Director_Smear::Director_Smear ( Smear smear,
const Parameters params 
)
inline

Definition at line 64 of file director_Smear.h.

Member Function Documentation

◆ get_config() [1/2]

Field_G * Director_Smear::get_config ( )

Definition at line 101 of file director_Smear.cpp.

◆ get_config() [2/2]

Field_G * Director_Smear::get_config ( const int  i_smear)

Definition at line 108 of file director_Smear.cpp.

◆ get_Nsmear()

int Director_Smear::get_Nsmear ( )
inline

get number of applied smearing operation

Definition at line 83 of file director_Smear.h.

◆ get_parameters()

void Director_Smear::get_parameters ( Parameters params) const
virtual

get parameters

Implements Director.

Definition at line 43 of file director_Smear.cpp.

◆ getptr_smearedConfig()

Field * Director_Smear::getptr_smearedConfig ( const int  i_smear)

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

Definition at line 88 of file director_Smear.cpp.

◆ notify_linkv()

void Director_Smear::notify_linkv ( )
inlinevirtual

to be called when configuration is updated

Implements Director.

Definition at line 95 of file director_Smear.h.

◆ set_config()

void Director_Smear::set_config ( Field U)
virtual

set pointer to original thin link variable

Implements Director.

Definition at line 79 of file director_Smear.cpp.

◆ set_parameters() [1/2]

void Director_Smear::set_parameters ( const int  Nsmear)

Definition at line 52 of file director_Smear.cpp.

◆ set_parameters() [2/2]

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.

◆ smear()

void Director_Smear::smear ( )
private

smearing is performed by calling a function of Smear object

Definition at line 117 of file director_Smear.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 42 of file director_Smear.h.

◆ m_Nsmear

int Director_Smear::m_Nsmear
private

number of smearing to be applied

Definition at line 47 of file director_Smear.h.

◆ m_smear

Smear* Director_Smear::m_smear
private

smearing operator

Definition at line 48 of file director_Smear.h.

◆ m_status_linkv

int Director_Smear::m_status_linkv
private

set to zero when link var. is updated

Definition at line 51 of file director_Smear.h.

◆ m_U

Field_G* Director_Smear::m_U
private

original thin link var.

Definition at line 49 of file director_Smear.h.

◆ m_Usmear

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

smeared configs.

Definition at line 50 of file director_Smear.h.

◆ m_vl

Bridge::VerboseLevel Director_Smear::m_vl
private

Definition at line 45 of file director_Smear.h.


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