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

Staple construction. More...

#include <staple_lex.h>

Inheritance diagram for Staple_lex:
Staple

Public Member Functions

 Staple_lex ()
 
 ~Staple_lex ()
 
void set_parameters (const Parameters &params)
 setting parameters. More...
 
void upper (Field_G &, const Field_G &, const int mu, const int nu)
 constructs upper staple in mu-nu plane. More...
 
void lower (Field_G &, const Field_G &, const int mu, const int nu)
 constructs lower staple in mu-nu plane. More...
 
void staple (Field_G &, const Field_G &, const int mu)
 constructs staple in mu-direction (summing up nu-direction). More...
 
double plaquette (const Field_G &)
 calculates plaquette value. More...
 
double plaq_s (const Field_G &)
 calculates spatial plaquette value. More...
 
double plaq_t (const Field_G &)
 calculates temporal plaquette value. More...
 
- Public Member Functions inherited from Staple
 Staple ()
 
virtual ~Staple ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Staple_lex"
 

Private Attributes

std::string m_filename_output
 
ShiftField_lexm_shift
 
Field_G m_staple
 
Field_G m_v
 
Field_G m_w
 temporary fields. More...
 

Additional Inherited Members

- Protected Attributes inherited from Staple
Bridge::VerboseLevel m_vl
 

Detailed Description

Staple construction.

This class constructs the staple. While the originial version was written by J.Noaki, the present version is completely modified by H.Matsufuru except for the interface. [28 Dec 2011 H.Matsufuru] Thread-parallelized. void version of upper and lower functions added; these are faster than the versions returning Field_G object. [28 Sep 2013 H.Matsufuru] Add parameters for output. [27 Jun 2016 Y.Namekawa] Factory is introduced. [24 Jan 2017 Y.Namekawa]

Definition at line 39 of file staple_lex.h.

Constructor & Destructor Documentation

Staple_lex::Staple_lex ( )
inline

Definition at line 51 of file staple_lex.h.

Staple_lex::~Staple_lex ( )
inline

Definition at line 57 of file staple_lex.h.

Member Function Documentation

void Staple_lex::lower ( Field_G c,
const Field_G U,
const int  mu,
const int  nu 
)
virtual

constructs lower staple in mu-nu plane.

Implements Staple.

Definition at line 177 of file staple_lex.cpp.

double Staple_lex::plaq_s ( const Field_G U)
virtual

calculates spatial plaquette value.

Implements Staple.

Definition at line 62 of file staple_lex.cpp.

double Staple_lex::plaq_t ( const Field_G U)
virtual

calculates temporal plaquette value.

Implements Staple.

Definition at line 95 of file staple_lex.cpp.

double Staple_lex::plaquette ( const Field_G U)
virtual

calculates plaquette value.

Implements Staple.

Definition at line 38 of file staple_lex.cpp.

void Staple_lex::set_parameters ( const Parameters params)
virtual

setting parameters.

Implements Staple.

Definition at line 25 of file staple_lex.cpp.

void Staple_lex::staple ( Field_G W,
const Field_G U,
const int  mu 
)
virtual

constructs staple in mu-direction (summing up nu-direction).

Implements Staple.

Definition at line 128 of file staple_lex.cpp.

void Staple_lex::upper ( Field_G c,
const Field_G U,
const int  mu,
const int  nu 
)
virtual

constructs upper staple in mu-nu plane.

Implements Staple.

Definition at line 151 of file staple_lex.cpp.

Member Data Documentation

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

Definition at line 42 of file staple_lex.h.

std::string Staple_lex::m_filename_output
private

Definition at line 45 of file staple_lex.h.

ShiftField_lex* Staple_lex::m_shift
private

Definition at line 47 of file staple_lex.h.

Field_G Staple_lex::m_staple
private

Definition at line 48 of file staple_lex.h.

Field_G Staple_lex::m_v
private

Definition at line 48 of file staple_lex.h.

Field_G Staple_lex::m_w
private

temporary fields.

Definition at line 48 of file staple_lex.h.


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