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

HYP smearing of link variables. More...

#include <smear_HYP.h>

Inheritance diagram for Smear_HYP:
Smear

Public Member Functions

 Smear_HYP (Projection *proj)
 
 Smear_HYP (unique_ptr< Projection > &proj)
 
 ~Smear_HYP ()
 
void init ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double alpha1, const double alpha2, const double alpha3)
 
void smear (Field_G &Usmear, const Field_G &U)
 
- Public Member Functions inherited from Smear
 Smear ()
 
virtual ~Smear ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Smear_HYP"
 

Private Member Functions

void staple (Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
 
void step1 ()
 
void step2 ()
 
void step3 (Field_G &)
 
int index_v1 (const int mu, const int nu, const int rho)
 
int index_v2 (const int mu, int nu)
 
int size_v1 ()
 
int size_v2 ()
 

Private Attributes

int m_Ndim
 
int m_Nvol
 
double m_alpha1
 
double m_alpha2
 
double m_alpha3
 
Projectionm_proj
 
std::vector< Field_Gm_U
 
std::vector< Field_Gm_v1
 
std::vector< Field_Gm_v2
 
ShiftField_lex m_shift
 

Additional Inherited Members

- Protected Attributes inherited from Smear
Bridge::VerboseLevel m_vl
 

Detailed Description

HYP smearing of link variables.

18 Mar 2012 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 35 of file smear_HYP.h.

Constructor & Destructor Documentation

Smear_HYP::Smear_HYP ( Projection proj)
inline

Definition at line 50 of file smear_HYP.h.

Smear_HYP::Smear_HYP ( unique_ptr< Projection > &  proj)
inline

Definition at line 56 of file smear_HYP.h.

Smear_HYP::~Smear_HYP ( )
inline

Definition at line 62 of file smear_HYP.h.

Member Function Documentation

int Smear_HYP::index_v1 ( const int  mu,
const int  nu,
const int  rho 
)
inlineprivate

Definition at line 79 of file smear_HYP.h.

int Smear_HYP::index_v2 ( const int  mu,
int  nu 
)
inlineprivate

Definition at line 87 of file smear_HYP.h.

void Smear_HYP::init ( )

Definition at line 68 of file smear_HYP.cpp.

void Smear_HYP::set_parameters ( const Parameters params)
virtual

Implements Smear.

Definition at line 25 of file smear_HYP.cpp.

void Smear_HYP::set_parameters ( const double  alpha1,
const double  alpha2,
const double  alpha3 
)

Definition at line 49 of file smear_HYP.cpp.

int Smear_HYP::size_v1 ( )
inlineprivate

Definition at line 93 of file smear_HYP.h.

int Smear_HYP::size_v2 ( )
inlineprivate

Definition at line 98 of file smear_HYP.h.

void Smear_HYP::smear ( Field_G Usmear,
const Field_G U 
)
virtual

Implements Smear.

Definition at line 80 of file smear_HYP.cpp.

void Smear_HYP::staple ( Field_G c,
const Field_G u_mu,
const Field_G u_nu,
const int  mu,
const int  nu 
)
private

Definition at line 177 of file smear_HYP.cpp.

void Smear_HYP::step1 ( )
private

Definition at line 102 of file smear_HYP.cpp.

void Smear_HYP::step2 ( )
private

Definition at line 125 of file smear_HYP.cpp.

void Smear_HYP::step3 ( Field_G v)
private

Definition at line 152 of file smear_HYP.cpp.

Member Data Documentation

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

Definition at line 38 of file smear_HYP.h.

double Smear_HYP::m_alpha1
private

Definition at line 42 of file smear_HYP.h.

double Smear_HYP::m_alpha2
private

Definition at line 42 of file smear_HYP.h.

double Smear_HYP::m_alpha3
private

Definition at line 42 of file smear_HYP.h.

int Smear_HYP::m_Ndim
private

Definition at line 41 of file smear_HYP.h.

int Smear_HYP::m_Nvol
private

Definition at line 41 of file smear_HYP.h.

Projection* Smear_HYP::m_proj
private

Definition at line 43 of file smear_HYP.h.

ShiftField_lex Smear_HYP::m_shift
private

Definition at line 47 of file smear_HYP.h.

std::vector<Field_G> Smear_HYP::m_U
private

Definition at line 44 of file smear_HYP.h.

std::vector<Field_G> Smear_HYP::m_v1
private

Definition at line 45 of file smear_HYP.h.

std::vector<Field_G> Smear_HYP::m_v2
private

Definition at line 46 of file smear_HYP.h.


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